@import url("../fonts/AmericanTypewriter/Medium-Bold Regular.css");
@font-face {
  font-family: "Libre Baskerville";
  src: url("../fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf");
}
@font-face {
  font-family: "Libre Baskerville Bold";
  src: url("../fonts/Libre_Baskerville/LibreBaskerville-Bold.ttf");
}
@font-face {
  font-family: "Libre Baskerville Italic";
  src: url("../fonts/Libre_Baskerville/LibreBaskerville-Italic.ttf");
}

body{
	font-family: "Open Sans", 'Microsoft JhengHei', 'Microsoft YaHei';
    overflow-x: hidden;
    opacity:0;
}

body.start{
    animation: 0.6s fadeIn forwards;
}

.clearboth {
    clear: both !important;
}

@keyframes fadeIn{
    to{
        opacity:1;
    }
}

a {
	text-decoration: none;
	color:#777777;
}

.clear_left{
    clear:left;
}

.blue_color{
    color:#008dd1;
}

.grey_color{
    color:#777777;
}

.row{
	width:100%;
        /*
	max-width:1212px; 
        */
	margin:0 auto;
	position:relative;
	overflow: hidden;
	clear:left;
}

.col{
	position:relative;
	display: inline-block;
	vertical-align: top;
	height: inherit;
	max-height: inherit;
	min-height: inherit;
}

.col_1{
	float:left;
}

.img_width_auto{
    width:auto;
}

h3{
    color: #008dd1;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 20px;
}

/*header*/
header{
	width: 100%;
    box-shadow: 0 2px 5px #eee;
    position: fixed;
    top:0;
    /* padding-bottom: 9px; */
    padding-bottom: .1875em;
    background:#ffffff;
    z-index:99;
    box-shadow: 0 0 1.5em rgba(0, 0, 0, .5);
    /* new colour syntax, for new browsers */
    box-shadow: 0 0 1.5em rgb(0 0 0 / 50%)
}

.row_0{
    overflow: visible;
    padding:0 20px;
    box-sizing: border-box;
}

header .row_0 {
    background-color: #ece9df;
    padding-left: 0;
    max-width: 999999px;
    max-width: unset;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start
}

.trigger{
    position: absolute;
    /*
    top: 15px;
    left: 15px;
    width: 25px;
    height: 30px;
    */
    z-index:2;
    display:none;
    top: 0;
    left: 0;
    width: 1.625em;
    height: 1.625em;
    padding: 1em;
}

.trigger .bar > div{
    display:block;
    width: 100%;
    height: 2px;
    margin-top: 5px;
    margin-bottom: 5px;
    background: #000000;
}

.logo{
    width: 17.5em;
    position: relative;
    margin-top: 0.5em;
}

header .logo {
    position: relative;
    width: auto;
    height: 57px;
    padding: 7px 26px 8px;
    background: #ece9df url(../images/logo_bg.svg) right top / auto 100% no-repeat;
    margin-top: 0
}

nav{
    font-family: "Libre Baskerville", serif;
    display: flex;
    flex-flow: row nowrap;
    position: static;
    width: calc(100% - 302px - 2em);
    margin-left: 2em;
    justify-content: space-between;
    font-size: 100%
}

nav li{
	display: inline-block;
    /*
    margin-right: 20px;
     */
    font-size: 0.875em;
    margin: 0
}

nav li a{
	display: block;
	position: relative;
    color: #000000;
}

nav li a.active,
nav li a:hover{
	color: #000000;
    font-weight: bold;
}

nav .menu{
    width: 56.25vw;
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-end;
    justify-content: space-evenly;
    flex: 0.5 1 56.25vw;
    margin-right: 2em;
    padding-left: 1em;
}
nav .right {
    /*
    float: right;
     */
    height: 1.25em;
    overflow: visible;
    float: none;
    flex: 0 0 auto
}
nav .choose_lang{
    display: inline-block;
    vertical-align: top;
    position: relative;
    height: .9375em;
    overflow: hidden;
    transition: height 500ms ease;
    width: 2.5em;
    margin: 0;
    background-color: #ece9df;
    font-size: 1em;
}
nav .choose_lang:active,
nav .choose_lang:hover {
    height: 4.125em
}

nav .choose_lang li{
    position: absolute;
    left: 0;
    top: .25em;
    font-size: 0.75em;
    margin: 0 0 .5em 0;
    display: block;
    transition: top 500ms ease;
}
nav .choose_lang li:nth-of-type(2),
html[lang] nav .choose_lang:active li:nth-of-type(2),
html[lang] nav .choose_lang:hover li:nth-of-type(2),
html[lang = "zh-Hant"] nav .choose_lang li:nth-of-type(3) {
    top: 2em
}
nav .choose_lang li:nth-of-type(3),
html[lang] nav .choose_lang:active li:nth-of-type(3),
html[lang] nav .choose_lang:hover li:nth-of-type(3) {
    top: 3.75em
}
html[lang = "zh-Hant"] nav .choose_lang li,
html[lang = "zh-Hans"] nav .choose_lang li:nth-of-type(2) {
    top: -1.75em
}
html[lang = "zh-Hant"] nav .choose_lang li:nth-of-type(2),
html[lang = "zh-Hans"] nav .choose_lang li:nth-of-type(3),
html[lang] nav .choose_lang:active li,
html[lang] nav .choose_lang:hover li {
    top: .25em
}
html[lang = "zh-Hans"] nav .choose_lang li {
    top: -3.25em
}
/* disable all links in language menu to enable touch screen users to tap-open the menu */
html[lang] nav .choose_lang li a {
    pointer-events: none;
}
/* if english, enable chinese links */
html:not([lang ^= "zh" i]) nav .choose_lang:active li a.fi-hk,
html:not([lang ^= "zh" i]) nav .choose_lang:active li a.fi-cn,
html:not([lang ^= "zh" i]) nav .choose_lang:hover li a.fi-hk,
html:not([lang ^= "zh" i]) nav .choose_lang:hover li a.fi-cn {
    pointer-events: all;
}
/* if zh-hant, enable en, zh-hans links */
html[lang = "zh-hant" i] nav .choose_lang:active li a.fi-gb,
html[lang = "zh-hant" i] nav .choose_lang:active li a.fi-cn,
html[lang = "zh-hant" i] nav .choose_lang:hover li a.fi-gb,
html[lang = "zh-hant" i] nav .choose_lang:hover li a.fi-cn {
    pointer-events: all;
}
/* if zh-hans, enable en, zh-hant links */
html[lang = "zh-hans" i] nav .choose_lang:active li a.fi-gb,
html[lang = "zh-hans" i] nav .choose_lang:active li a.fi-hk,
html[lang = "zh-hans" i] nav .choose_lang:hover li a.fi-gb,
html[lang = "zh-hans" i] nav .choose_lang:hover li a.fi-hk {
    pointer-events: all;
}

nav .menu li:last-child{
    /*
    margin-right: 40px;
     */
    margin: 0;
}

nav .choose_lang li:last-child{
    margin-right: 0;
}

nav .choose_lang li a {
    padding-left: .25em
}
.fi::before {
    content: "";
    display: inline-block;
    width: 1.333333em;
    height: 1em;
    border-radius: 50%;
    margin: 0 .25em 0 0;
    vertical-align: bottom;
    background: transparent none center / 133.333333% no-repeat
}
.fis::before {
    width: 1em
}
.fi-gb::before {
    background-image: url(../images/flags/gb.svg)
}
.fi-hk::before {
    background-image: url(../images/flags/hk.svg)
}
.fi-cn::before {
    background-image: url(../images/flags/cn.svg)
}
.fis.fi-cn::before {
    background-position: left center
}
nav .right .search_form {
    display: inline-block;
    position: static;
    background-color: white;
    border-radius: 0.5em;
    padding: .1em .5em;
    font-size: .6rem;
    color: #000000;
}
nav .right label {
    font-size: inherit;
}
nav .right .search_form .separator {
    font-size: .875em;
    font-weight: bolder;
    position: relative;
    display: inline-block;
    top: -.125em;
    margin: 0;
    color: inherit
}
nav .right .search_form .separator::after {
    content: "|"
}
nav .right .search_form input {
    display: initial;
    position: static;
    /*
    width: 10em;
     */
    height: 1.5em;
    border: 0 none;
    background: transparent none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    width: 200px;
    width: 12.5vw;
}
nav .right .search_form button {
    color:inherit;
    margin:0;
    padding:0;
    border:0 none;
    background:transparent none;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: .125em;

}
nav .right .search_form button svg {
    width: 1em;
    height:1em;
}
nav .right .search_form button svg path {
    stroke:currentColor;
    stroke-width:.375;
    fill:none;
    stroke-linecap:round
}
nav .right .separator {
    color: #000000;
    margin: 0 .5em;
    font-size: 12px;
}
nav .right .separator::after {
    content: "|"
}

nav .i_tick:before{
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-image: url(../images/i_tick.png);
    left: -13px;
    background-repeat: no-repeat;
    background-size: cover;
    display: none;
}

nav .i_tick.select:before{
	display: block;
}

nav .menu_close{
    position: absolute;
    width: 30px;
    height: 30px;
    background: url(../images/menu_close.jpg) no-repeat;
    top: 0;
    right: 0;
    display: none;
}

.search_form{
	display: block;
    position: absolute;
    right: 32px;
    bottom: 9px;
    font-size: 1.1em;
	color:#008dd1;
	user-select: none;
}
#search_label {
    text-transform: uppercase
}

.search_form .icon:nth-child(2){
	display:none;
}

.search_form.active .icon:first-child{
	display: none;
}

.search_form.active .icon:nth-child(2){
	display: inline;
}

.search_form label{
	cursor:pointer;
}

.search_form img{
	width:15px;
}

.search_form input{
	display: none;
    position: absolute;
    right: 0;
    width: 270px;
    height: 50px;
    top: 25px;
    text-indent: 5px;
}

main{
    margin-top: 75px;
    margin-top: calc(.1875em + 72px);
    background: url(../images/bg.jpg) right top / auto no-repeat,
                white url(../images/bg2.jpg) bottom center / 100% no-repeat;
    min-height: calc(100vh - 114px);
}
main.with-ape {
    display: grid;
    grid: "side-bar separator . ." / 198.666667px 1em 1fr 5em;
    position: relative
}
main.with-ape::before {
    content: "";
    display: block;
    grid-area: side-bar;
    position: absolute;
    inset: 0;
    background: transparent url(../images/bg2_ape.png) left bottom / 100% no-repeat
}
main.with-ape::after {
    content: "";
    display: block;
    grid-area: separator;
    position: absolute;
    top: 1em;
    left: .5em;
    bottom: 1em;
    width: 1px;
    background-color: rgba(0, 0, 0, .125);
    background-color: rgb(0 0 0 / .125)
}
main.with-ape > * {
    grid-column: 3
}

/*footer*/
footer{
    font-family: "Libre Baskerville", serif;
    background-color: #ece9df;
    border-top: .1875em solid white;
    color: #000000;
    position: relative
}
footer::before,
footer::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
}
footer::before {
    width: 5em;
    height: 3.583333em;
    left: 0;
    background: transparent url(../images/footer_left.png) left bottom / 100% no-repeat;
}
footer::after {
    width: 7em;
    height: 7.25em;
    right: 0;
    background: transparent url(../images/footer_right.png) right bottom / 100% no-repeat;
}
footer .row_last{
    box-sizing: border-box;
    padding: 0 6.25em;
    display: flex;
    flex-flow: row nowrap
}

footer .col{
    flex: 1 0 auto;
    width:auto;
    font-size: 0.875em;
    padding: 0
}

footer .col p{
    margin: 10px;
}

footer .col_4{
    text-align: right;
}

footer .col_4 img{
    vertical-align: top;
    width:auto;
    cursor: pointer;
}
footer .col svg {
    vertical-align: top;
    height: 1em
}

.footer-email {
    text-decoration: underline;
    font-size: 13px;
}
footer a{
	color:#000;
}

#sign_up_for_next_letter {
    background: transparent none;
    border: 0 none;
    margin: 0;
    padding: 0;
    cursor: pointer
}

.back_header{
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 44px;
    height: 44px;
    opacity: 0;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    background-image:url("../images/up-arrow.png");
    background-repeat: no-repeat;
    -webkit-transition: opacity .4s ease;
    transition: opacity .4s ease;
    background-color: #000;
    background-color: rgba(0,0,0,.2);
    z-index: 2;
}

.back_header:hover{
    background-color: rgba(0,0,0,0.5);
}

.back_header.show{
    opacity:1;
}

.soc_ico{
    display: inline-block;
    position: relative;
    /*
    width: 24px;
    height: 24px;
    */
    width: 1em;
    height: 1em;
    /* background-color: rgba(119,119,119,0.15); */
    /* -webkit-border-radius: 50%; */
    /* border-radius: 50%; */
    overflow: hidden;
    text-align: left;
}

/* .soc_ico:before{
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    content: "";
    transform: scale(0);
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: -webkit-transform .15s;
    transition: transform 150ms;

    background: #008dd1;
    background: -webkit-linear-gradient(135deg,#008dd1 30%,#2467e2 100%);
    background: linear-gradient(135deg,#008dd1 30%,#2467e2 100%);
}

.soc_ico:hover:before {
    -webkit-transform: scale(1);
    transform: scale(1);
} */

.soc_ico img, 
.soc_ico svg{
    fill: #777777;
    z-index: 9;
    position: absolute;
}

/*.signup_form*/
.overlay{
    position:fixed;
    display:block;
    width:100%;
    height:100%;
    top:0;
    left:0;
    background-color:rgba(0,0,0,0.7);
    z-index:999;
    display: none;
}

.signup_form{
    position:fixed;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 0 15px 5px #222222;
    top:50%;
    left:50%;
    width:347px;
    transform: translate(-50%, -50%);
    display: none;
    text-align: left;
}

.signup_form.open .signup_close{
    display: block;
}

.signup_form p{
    margin: 10px;
}

.signup_form label{
    display: block;
}

.signup_form input,
.wm_input{
    width: 100%;
    height: 35px;
    border: 1px solid #cccccc;
    margin-top: 10px;
    margin-bottom: 10px;
    text-indent: 5px;
    font-size:1em;
}

.signup_form button[type=submit],
.wm_submit{
    color: #ffffff;
    border: none;
    font-weight: 600;
    background-color: #008dd1;
    background: #008dd1;
    background: -webkit-linear-gradient(135deg,#008dd1 30%,#2467e2 100%);
    background: linear-gradient(135deg,#008dd1 30%,#2467e2 100%);
    padding: 14px 20px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    z-index: 99;
    cursor: pointer;
}

.wm_select{
    display: block;
    position: relative;
}

.wm_select:after{
    content:"";
    position:absolute;
    width:100%;
    height: 100%;
    top:0;
    left:0;
    background-color:#008dd1;
    opacity: 0;
    transition: opacity 0.6s;
}

.wm_select:hover:after{
    opacity:0.3;
}


.signup_close{
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: url("../images/fancybox.png") -40px 0;
    cursor: pointer;
}


/* filter list */
.filter_area {
    border-left: 1px solid rgba(204, 204, 204, 0.5);
    border-right: 1px solid rgba(204, 204, 204, 0.5);
    padding: 0 22px;
    height: 100%;
    /* background-image: url("../images/sidebar.png");
    background-repeat: no-repeat;
    background-position: 18px bottom; */
    position: relative;
}

.filter_area .filter_bgimage {
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: center;
}

.filter_area .filter_bgimage img {
    width: 100%;
    height: auto;
}

.filter_area .filter_title {
    padding-bottom: 12px;
    border-bottom: 1px solid #008dd1;
    font-size: 30px;
    line-height: 30px;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1;
    color: #008dd1;
    font-weight: 600;
    margin: 0 0 32px;
}

.filter_list {
    font-size: 14px;
    line-height: normal;
}

.filter_list li {
    position: relative;
    padding: 10px 0;
    cursor: pointer;
    color: #008dd1;
}

.filter_list li:before {
    font-family: FontAwesome;
    font-weight: 300;
    content: "\f196";
    position: absolute;
    right: 0;
    padding: 2px 2px 0 0;
}

.filter_list li:after {
    content: "";
}

.filter_list .filter_item {
    text-indent: 10px;
}

.filter_list .filter_type {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    z-index: 5;
}

.filter_list .filter_type_content {
    width: 500px;
    background-color: #ffffff;
    box-sizing: border-box;
    border: 1px solid #999;
    font-size: 0.875em;
    padding: 20px 10px 10px 20px;
    background: #F4F4F4 url("skins/images/bg_grad.png") repeat-x 0 0;
    margin-left: 10px;
}

.filter_list .filter_type_content .row {
    margin-bottom: 20px;
}

.filter_list .filter_type_content .row:last-child {
    margin-bottom: 0;
}

.filter_list .filter_type_content .col {
    width: 33%;
}

/* .filter_list li:hover {
    background: #dddddd;
} */

.filter_list li:hover .filter_type {
    display: block;
    opacity: 0;
    animation: 0.6s open forwards;
    z-index: 5;
}

@keyframes open {
    to {
        opacity: 1;
    }
}

.filter_list .filter_type_content a {
    display: block;
    padding: 5px;
    color: #111;
}

.filter_list .filter_type_content .col a:first-child {
    color: #008dd1;
    font-weight: bold;
    text-transform: uppercase;
}

.filter_list .filter_type_content a:hover,
.filter_list .filter_type_content a:hover:first-child {
    background: #008dd1;
    color: #ffffff;
}

.filter_list .filter_type_content .col {
    float: left;
}

.filter_list .filter_type_links {
    height: 100%;
    overflow-y: hidden;

	/* transition-property: all;
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(0, 1, 0.5, 1); */
}

.filter_list .filter_type_links.is-collapsed {
    height: 108px; /* approximate max height */
    
	/* transition-property: all;
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(0, 1, 0.5, 1); */
}

.filter_list .filter_type_content .view-more {
    color: #008dd1 !important;
    padding: 12px 0 6px 20px;
    display: inline-block;
}

.filter_list .filter_type_content a.view-more:hover {
    background: none;
}


/* Error page */
.not-found {
    min-height: calc(100vh - 225px);
    padding: 25px 16px 0;
    box-sizing: border-box;
}

.not-found h1 {
    font-size: 36px;
    line-height: 44px;
    font-weight: 600;
    color: #008dd1;
    text-align: center;
}

.not-found p {
    margin: 5px 0 10px;
    text-align: center;
    font-size: 14px;
    line-height: 26px;
    font-weight: 400;
    color: #777;
}

.not-found form {
    position: relative;
}

.not-found input[type="text"] {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 100%;
    margin-bottom: 10px;
    margin-right: 30px;
    font: normal 13px / 24px "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    font-size: 13px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    padding: 7px 15px;
    color: #b8bcbe;
    border: 1px solid #e0e1e1;
    background-color: #fcfcfc;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.not-found form .submit {
    background-image: url("data:image/svg+xml,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 16 16' enable-background='new 0 0 16 16' xml:space='preserve'><path fill='rgba(184,188,190,0.99)' d='M15.376,13.75l-3.985-4c0.586-0.916,1.032-2.171,1.032-3.333c0-3.263-2.675-5.917-5.961-5.917C3.175,0.5,0.5,3.154,0.5,6.417c0,3.263,2.675,5.919,5.962,5.919c1.113,0,2.272-0.4,3.163-0.93l4.049,3.955L15.376,13.75z M2.518,6.455c0-2.179,1.785-3.953,3.981-3.953c2.195,0,3.983,1.773,3.983,3.953c0,2.18-1.788,3.952-3.983,3.952C4.304,10.407,2.518,8.635,2.518,6.455z'/></svg>");
    position: absolute;
    top: 12px;
    right: 12px;
    width: 16px;
    height: 16px;
    padding: 0;
    background-position: 0 0;
    background-repeat: no-repeat;
}

.not-found form input[type="submit"] {
    display: none;
}

.d-none {
    display: none
}

@media only screen and (max-width: 1440px) {
    nav {
        margin: 0;
        width: 958px;
        width: calc(100% - 302px);
        align-items: center;
        font-size: 1rem
    }
    nav .menu {
        margin: 0;
        flex-wrap: wrap;
        justify-content: flex-start
    }
    nav .menu > li,
    nav .menu > li:last-child {
        margin: .5em 1em
    }
    #search_input {
        width: 100px;
        width: 7.5vw
    }
}
@media only screen and (max-width:1280px){
    header .row_0 {
        display: block;
        padding: 0
    }
    header .logo {
        background: white none;
        width: 100%;
        object-fit: contain;
        padding: 0;
        height: 3.5em
    }
    nav{
        position: fixed;
        display:block;
        top: 0;
        left: -340px;
        padding: 30px 20px;
        background-color: #ffffff;
        width:340px;
        text-align: left;
        box-sizing: border-box;
        z-index: 99;
        height: 100vh;
        transform: translateX(0);
        transition:transform 0.4s;
        margin-top: 0
    }

    nav.open{
        transform: translateX(340px);
    }

    nav.open .menu_close{
        display: block;
    }

    nav .menu {
        flex-direction: column
    }
    nav li a {
        color: #777
    }
    nav li a:hover{
        color:#777777;
    }

    nav li a:hover:after,
    nav li a.active:after{
        bottom:-10px;
        opacity: 0;
    }

    nav .menu li{
        font-size: 1em;
        display: block;
        border-bottom: 1px solid #eeeeee;
    }

    nav .menu li a{
        padding: 16px 30px 16px 0;
    }

    nav .right {
        margin: 0
    }
    nav .right .search_form {
        font-size: 100%;
        padding: 0;
        width: 100%;
    }
    nav .right .search_form label,
    nav .right .search_form .separator {
        display: none
    }
    nav .right .search_form #search_input {
        width: calc(100% - 1.5em);
        border: 1px solid #ccc;
        transform: none;
        margin-top: 2em
    }

    nav .choose_lang{
        margin-top: 40px;
        display: flex;
        flex-flow:row nowrap;
        width: 100%;
        background-color: transparent
    }
    nav .choose_lang li {
        position: static;
        flex: 0 0 4em
    }

    footer .col {
        width: 50%;
        margin: 10px 0;
    }

    footer .col_4 {
        text-align: left;
    }

    .row_0{
        text-align: center;
    }
    .trigger{
        display:block;
    }
    main.with-ape::before,
    main.with-ape::after {
        display: none
    }
    main.with-ape {
        display: block;
        padding: 0 0 2em
    }
    footer .row_last {
        justify-content: space-around;
        padding: 0 5em;
        flex-wrap: wrap
    }
    /*
    footer .col {
        flex: 0 0 14.285714%
    }
    footer .col.col_2 {
        flex-basis: 42.857142%
    }
    footer .col p {
        margin: 0;
        text-align: center
    }
    footer .col span {
        display: none
    }
    footer .col_2 p {
        display: flex;
        flex-flow: row nowrap;
        width: 100%;
        justify-content: space-around
    }
     */
    footer .col {
        flex: 0 0 50%
    }
    footer .col p {
        margin: 0;
    }
    .soc_ico svg {
        position: static
    }
    .d-sm-block {
        display: block
    }
}
/*
@media only screen and (max-width:1218px) {
    nav{
        top: 25px;
    }
    nav .menu{
        display: block;
    }
    nav .choose_lang{
        display: block;
        margin-top: 10px;
    }
    .search_form{
        bottom: 0;
        right: 20px;
    }
}
 */

@media only screen and (max-width: 1048px) {
    header > div {
        display: flex;
        flex-flow: row nowrap
    }
    /*
    nav {
        display: flex;
        flex-flow: row nowrap;
        position: static;
        width: 100%;
        margin: 1em 0;
        width: calc(100% - 302px);
    }
    nav .menu {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-around;
        flex: 1 0 1px;
        margin-right: 0
    }
    nav li,
    nav .menu li:last-child {
        margin-right: 0
    }
    nav .right {
        float: none;
        margin-left: 1em
    }
    */
}


@media only screen and (max-width: 960px) {
    .filter_area .filter_bgimage {
        display: none;
    }
    
    .filter_area {
        margin-top: 30px;
        border-left: none;
        border-right: none;
        padding: 0 10px;
    }

    .filter_area .filter_title {
        margin: 0 0 15px;
    }

    .filter_list .filter_item {
        text-indent: 0;
        color: #333;
    }
    
    .filter_list .filter_item:hover {
        color: #008dd1;
    }

    .filter_list li {
        padding: 3px 0px;
    }

    .filter_list li .filter_type {
        display: block;
        position: relative;
        top: auto;
        left: auto;
    }

    .filter_list li:hover .filter_type {
        opacity: 1;
    }

    .filter_list .filter_type_content {
        background: none;
        border: none;
        width: 100%;
        margin-left: 0;
        padding: 0;
    }

    .filter_list .filter_type_content .col {
        float: none;
        width: 100%;
        margin-top: 3px;
    }

    .filter_list .filter_type_content a {
        position: relative;
        padding: 1px;
        padding-left: 60px;
    }
    
    .filter_list .filter_type_content a:before {
        content: "";
        position: absolute;
        background-color: rgba(119,119,119,0.5);
        top: 50%;
        left: 50px;
        width: 3px;
        height: 3px;
        margin-top: -1px;
        -webkit-border-radius: 50%;
        border-radius: 50%;
    }

    .filter_list .filter_type_content a:first-child {
        padding: 5px;
        padding-left: 30px;
    }

    .filter_list .filter_type_content a:first-child:before {
        left: 20px;
    }

    .filter_list .filter_type_content a:hover:first-child,
    .filter_list .filter_type_content a:hover {
        background: none;
        color: #008dd1;
    }

    .filter_list .filter_type_content .col a:first-child {
        font-weight: 400;
        color: #111;
    }

    .filter_list .filter_type_content .row {
        margin-bottom: 0; 
    }

    .filter_list li.active:before {
        width: 15px;
        height: 15px;
        content: "";
        background-repeat: no-repeat;
        background-position: center;
        background-image: url("data:image/svg+xml,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='8px' height='8px' viewBox='0 0 8 8' enable-background='new 0 0 8 8' xml:space='preserve'><path fill='rgba(119,119,119,0.5)' d='M1.046,6.251l2.953-2.862l2.938,2.848c0.328,0.322,0.707,0.262,0.91,0.04c0.202-0.221,0.202-0.582,0-0.803L4.375,2.129c-0.104-0.111-0.24-0.166-0.376-0.164c-0.136-0.002-0.272,0.05-0.375,0.164L0.151,5.472c-0.202,0.221-0.202,0.582,0,0.803C0.354,6.497,0.733,6.574,1.046,6.251z'/></svg>");
    }
    
    .filter_list li:before {
        width: 15px;
        height: 15px;
        content: "";
        background-repeat: no-repeat;
        background-position: center;
        background-image: url("data:image/svg+xml,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='8px' height='8px' viewBox='0 0 8 8' enable-background='new 0 0 8 8' xml:space='preserve'><path fill='rgba(119,119,119,0.5)' d='M6.953,2.182L4,5.045L1.062,2.197c-0.328-0.322-0.707-0.262-0.91-0.04c-0.203,0.221-0.203,0.582,0,0.803l3.472,3.344C3.728,6.416,3.864,6.471,4,6.469c0.136,0.002,0.272-0.05,0.375-0.164l3.472-3.343c0.203-0.221,0.203-0.582,0-0.803C7.645,1.936,7.266,1.859,6.953,2.182z'/></svg>");
    }
    
    .filter_list .filter_type {
        max-height: 0;
        overflow: hidden;
    }

    .filter_list .filter_type.open {
        max-height: 100%;
    }

    .filter_list li.active .filter_item {
        color: #008dd1;
    }

    .filter_area {
        height: auto;
    }
    .row-main > .col_1 {
        height: auto;
    }
}

@media only screen and (max-width: 768px) {
    footer .row_last {
        padding-top: 12px;
    }

    footer .col p {
        margin: 0 0 15px;
    }
    footer::before {
        width: 3.75em;
        height: 2.6875em;
    }
    footer::after {
        width: 5.25em;
        height: 5.4375em;
    }
}

@media only screen and (max-width:600px){
    main{
        margin-top:59px; 
        margin-top: calc(.1875em + 55px);
    }
    .logo{
        width: 14em;
    }
    .search_form {
        position: relative;
        text-align: center;
        right: 0;
        margin-top: 20px;
    }

    .search_form input {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media only screen and (max-width:560px){
    footer .col {
        flex-basis: 100%;
        width: 100%;
        text-align: center;
    }

    footer .col_4 {
        text-align: center;
    }
}


/* RICH TEXTS CONTENT */
.rt-major-content-title-black {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: #333;
}
.rt-major-content-text-grey {
    font-size: 14px;
    line-height: 26px;
    color: #777;
    padding: 0 10px;
}

.status-msg {
    font-size: 12px;
    color: red;
}

.success-msg {
    padding: 10px;
    margin: 20px 0;
    text-align: center;
    color: #777;
    font-weight: 400;
}
