@font-face {
    font-family: "Gothic";
    src: url("../fonts/GOTHIC_0.TTF");
}

div.main * {
    font-family: 'Gothic', sans-serif !important;
    color: #333 !important;
}
div {
    width: 100%;
    height: auto;
}
.main {
    width: 100%;
    height: auto;
    padding: 50px 0;
}
.col-md-6, .col-md-12, .col-xs-12 {
    padding-left: 10px;
    padding-right: 10px;
}
div.minimal-form-input {
    height: 100%;
}
.main-content img {
    max-width: inherit;
}
.main-content ul, .main-content ol {
    margin-left: 0 !important;
}
.main-content ul li {
    list-style: inherit !important;
}

.result-content .customized-divider:nth-child(3n+1), .result-content .customized-divider:nth-child(3n+2) {
    display: none;
}
.result-content .customized-divider:nth-child(3n+0) {
    display: block;
}
button.simplefavorite-button {
    display: none !important;
}

/* animation of button */
button:hover, button:active, button:focus, button:visited {
    background: #e8bb9e !important;
    border-color: #e8bb9e !important;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

/* height of bars */
.search .input-group, .sub-search-bar .custom-dropdown, .result > .header, .search-bar .actions {
    height: 58px;
}
.search .input-group img, .custom-dropdown button img, .result > .header > .action > button > img {
    width: 30px;
    height: 30px;
}

/* customized search bar */
.search-bar div.minimal-form-input {
    border: 1px solid #EEEFF1;
    margin-left: 4px;
    width: calc(100% - 10px);
	padding-top:0px;
}
.search-bar div.minimal-form-input > label {
    background: #EEEFF1;
}
.search .input-group input, .search > .input-group span {
    height: 100%;
}
.search-bar button {
    background: #e8bb9e !important;
    border-color: #e8bb9e !important;
    border-radius: 8px;
}
.search .input-group button {
    padding: 8px 10px;
	border-radius: 8px;
	height:100%;
}
.search .input-group .search_value {
    background: #EEEFF1;
    border-color: #EEEFF1;
    text-align: center;
    font-size: 20px !important;
    font-weight: bold;
    letter-spacing: 1px;
    height: 100% !important;
}
.search .input-group .search_value:focus {
    border-color: #e8bb9e;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(90, 138, 108,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(90, 138, 108,.6);
}

/* customized dropdown */
.sub-search-bar {
    margin-top: 50px;
}
.sub-search-bar .custom-dropdown {
    width: 100%;
}
.sub-search-bar button {
    font-size: 18px;
}
.custom-dropdown button {
    height: 100%;
}
.custom-dropdown .name {
    width: calc(100% - 66px);
    background: #e8bb9e !important;
    border-color: #e8bb9e !important;
    border-radius: 8px 0px 0px 0px !important;
    text-transform: uppercase;
}
.date-dropdown .minimal-form-input {
    width: calc(100% - 66px) !important;
}
.date-dropdown .custom-dropdown .name {
    width: 100%;
}
.date-dropdown .minimal-form-input > label {
    background: #e8bb9e !important;
    border-color: #e8bb9e !important;
    border-radius: 8px 0px 0px 0px !important;
}
.custom-dropdown input.date-ipt {
    font-size: 18px;
    height: 100%;
}
.custom-dropdown button.dropdown-toggle {
    float: right;
    padding: 6px 10px !important;
    background: #e8bb9e !important;
    border-color: #e8bb9e !important;
    border-radius: 8px;
}
.custom-dropdown ul.dropdown-menu {
    width: 100%;
    background: #e8bb9e !important;
    border-color: #e8bb9e !important;
    text-align: center;
    margin-top: 12px;
    padding: 1px 0;
}
.categories-dropdown ul.dropdown-menu {
    height: 400px;
    overflow-y: scroll;
}
.custom-dropdown ul.dropdown-menu > li > a {
    padding: 10px 0;
    border-bottom: 1px #e8bb9e solid;
    text-transform: uppercase;
}
.custom-dropdown ul.dropdown-menu > li:last-child > a {
    border: none !important;
}

/*.datepickers-container {
    top: -33px !important;
}*/
.datepicker--cell {
    padding: 0 !important;
}
.datepicker--cells .sel-week {
    /*width: 100%;*/
    /*height: 100%;*/
    border-top: 1px solid #5a8a6c !important;
    border-bottom: 1px solid #5a8a6c !important;
    padding: 5px !important;
    text-align: center;
}
.datepicker--cells .sel-week-first {
    border-left: 1px solid #5a8a6c !important;
    border-radius: 5px 0px 0px 5px !important;
}

.datepicker--cells .sel-week-last {
    border-right: 1px solid #5a8a6c !important;
    border-radius: 0px 5px 5px 0px !important;
}
.datepicker--content {
    width: calc(100% - 8px) !important;
}
.datepicker--cell-day.-other-month-, .datepicker--cell-year.-other-decade- {
    color: darkgrey !important;
}
.datepicker--cell {
    border-radius: 0 !important;
}
.datepicker--cell:hover {
    background: #e8bb9e !important;
}


/* result-content */

.result .description > p {
    margin-bottom: 5px;
    padding: 0 !important;
}
.line-border {
    padding-top: 5px;
    border-bottom: 1px solid rgb(39, 88, 55);
}
.result-content {
    margin-top: 100px;
    min-height: 200px;
}
.result {
    margin-top: 50px;
}
.result > .header > .title {
    float: left;
    width: calc(100% - 66px);
    height: 100%;
    background: #e8bb9e !important;
    padding: 8px 15px;
}
.result > .header > .title:before {
    content: '';
    position: absolute;
    top: 0; right: 76px;
    border-top: 20px solid white;
    border-left: 20px solid #e8bb9e !important;
    width: 0;
}
.result > .header > .title > .categories, .result > .header > .title > .created_time {
    height: 50%;
}
.result > .header > .title span, .result > .description p {
    font-size: 16px;
}
.result > .header > .title .categories a {
    font-weight: bold;
}
.result > .header > .title a.category {
    font-size: 16px;
    color: black;
    border-bottom: 1px solid #707A72;
    line-height: 2.8;
}
.result > .header > .title a.category:hover {
    text-decoration: none !important;
    color: #707A72;
}
.result > .header > .action {
    float: right;
    width: 62px;
    height: 100%;
}
.result > .header > .action > button {
    width: 100%;
    height: 100%;
    background:#EEEFF1 !important;
    border: none;
    border-radius: 8px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.result > .description {
    margin-top: 4px;
    padding: 18px 15px;
    background: #EEEFF1;
}
.result > .description p:last-child {
    margin-bottom: 0;
}

/* customize datepicker */
.datepicker {
    background: #e8bb9e !important;
}
.datepicker--pointer {
    display: none;
}
.datepicker--nav {
    padding: 8px !important;
    /*border-bottom: 1px solid #5A8A6C !important;*/
    border-bottom: 1px solid #e8bb9e !important;
}
.datepicker--nav-action path {
    fill: #5a8a6c !important;
    stroke: #5A8A6C !important;
}
.datepicker--nav-title {
    font-size: 18px;
    font-weight: bold;
}
.datepicker--nav-title i {
    color: #4a4a4a !important;
}
.datepicker--days-names {
    font-size: 16px !important;
    margin: 10px 0 10px !important;
    font-weight: bold;
}
.datepicker--cell {
    font-size: 16px !important;
    /*padding: 5px !important;*/
}
.datepicker--day-name {
    color: #4a4a4a !important;
}
.datepicker--cell.-selected-, .datepicker--cell.-selected-.-current- {
    color: #4a4a4a !important;
    background: #e8bb9e !important;
}

/* customize pagination */
.footer {
    margin-top: 50px;
}
nav.customized-pagination {
    text-align: center;
}
ul.pagination > li > a {
    margin-left: 3px;
    padding: 2px 12px;
    background: #EEEFF1  !important;
    border: 1px solid #EEEFF1 !important;
    color: #7f8082;
    font-size: 18px;
    cursor: pointer;
}

ul.pagination > .page-item-arrow > a {
    margin-left: 3px;
    padding-right: 0px;
    padding-bottom: 1px;
    padding-left: 0px;
    padding-top: 0px;
    background: #EEEFF1  !important;
    border: 1px solid #EEEFF1 !important;
    color: black;
    font-size: 16px;
}

.pagination> li > a {
    margin-bottom: 15px;
}

ul.pagination > li:first-child > a, ul.pagination > li:last-child> a, ul.pagination > li.active > a {
    background: #e8bb9e !important;
    border: 1px solid #e8bb9e !important;
}
ul.pagination > li.active > a {
    color: #7f8082;
    font-weight: bold;
    cursor: pointer;
}
.pagination>.active>a {
    color: #7f8082;
}
.pagination>.active>a {
    display: inline-block;
    position: relative;
}
.pagination>.active>a::before {
    content: ".";
    display: inline-block;

    /* position the dot underneath the character */
    position: absolute;

    bottom: -1.2em;
    left: 0;

    /* center the dot horizontally */
    text-align: center;
    width: 100%;
	font-size: 60px;
	top: 12px;
}

.mobile-divider {
    display: none;
}

.pagination>.active>a:hover::before,  .pagination>.active>a:focus::before{
    color: #7f8082;
}


ul.pagination > li > a:hover, ul.pagination > li > a:focus, ul.pagination > li > a:active {
    color: #7f8082;
    background: #e8bb9e !important;
}

@media screen and (max-width: 1200px) {
    .result-content .customized-divider:nth-child(3n+0) {
        display: none !important;
    }
    .result-content .customized-divider:nth-child(4n) {
        display: block !important;
    }
}

@media screen and (max-width: 1024px) {
    .sub-search-bar > div {
        margin-top: 40px;
    }
    .sub-search-bar > div:first-child {
        margin-top: 0;
    }
}

@media screen and (max-width: 992px) {
    .search-bar .actions {
        text-align: right;
    }
    .datepickers-container {
        top: 0 !important;
    }
    .categories-dropdown ul.dropdown-menu {
        height: 300px;
        overflow-y: scroll;
    }
    .result-content .customized-divider {
        display: block !important;
    }
}

@media screen and (max-width: 500px) {
    .container {
        padding: 0 !important;
    }
    .mobile-divider {
        display: block;
    }
    .sub-search-bar {
        margin-top: 10px;
    }
    .result-content {
        margin-top: 30px;
    }
    .main {
        padding: 60px 0;
    }
    .search-bar .actions img {
        height: 50px;
    }
    .search > .input-group .search_value {
        font-size: 16px !important;
        padding: 4px 0 !important;
    }
    .search > .input-group, .sub-search-bar .custom-dropdown, .result > .header {
        height: 50px;
    }
    .search > .input-group img, .custom-dropdown button img, .result > .header > .action > button > img {
        width: 30px;
        height: 30px;
    }
    .sub-search-bar > div {
        margin-top: 20px;
    }
    .sub-search-bar > div:first-child {
        margin-top: 0;
    }
    .sub-search-bar button, .custom-dropdown input.date-ipt {
        font-size: 16px;
    }
    .result {
        margin-top: 30px;
    }
    .result > .header > .title span, .result > .description p, .result > .header > .title a.category {
        font-size: 14px;
    }
    .result > .header > .title a.category {
        line-height: 1;
    }
    .result > .header > .title {
        padding: 4px 10px;
    }
    .result > .description {
        padding: 12px 10px;
    }
    .result > .header > .title span, .result > .description p {
        margin-bottom: 6px;
    }
    ul.pagination > li > a {
        font-size: 18px;
    }
}

.favorite{
      border-radius: 8px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }

ul.pagination > li > a img{
	margin:-18px;
}

.pagination li{
	margin:-2px !important;
}

.date-dropdown .custom-dropdown .minimal-form-input {
	padding: 0;
}

#search-form .input-group-addon, .input-group-btn{
	vertical-align: top !important;
}

.result > .header > .action > button > img {

    width: 40px !important;
    height: 40px !important;
    margin-top: 9px;

}

.pagination li a{
	line-height:unset !important;
}
.vc_separator.vc_sep_color_vista_blue .vc_sep_line{
color:#e7792b !important;
}