/*
*   name           Favourite
*   version        3.5
*   description    Responsive and customizable Joomla!3 template
*   demo           ttp://demo.favthemes.com/favourite/
*   author         FavThemes
*   author URL     http://www.favthemes.com
*   copyright      Copyright (C) 2012-2016 FavThemes.com. All Rights Reserved.
*   license        Licensed under GNU/GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
*/

/*//////////////////////////////////////////////////////////////////////////////
///
///  custom style
///
//////////////////////////////////////////////////////////////////////////////*/

::selection {
    background:#0b76b7;
    color:#ffffff;
}
::-moz-selection {
    background:#0b76b7;
    color:#ffffff;
}

#fav-topbar .moduletable {
    margin-top: 5px;
    margin-bottom: 5px;
}

#fav-introwrap {
    background-position: bottom;
}

.table {
    width: 100%;
    margin-bottom: 10px;
}

.tracking input {
    background: #f3f3f3;
    border-color: #ddd;
    padding: 20px 15px;
    width: 100%;
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}

.tracking p {
    line-height: 18px;
    font-size: 12px;
}

.btn {
    border-radius: 25px;
    -moz-border-radius: 25px;
    -webkit-border-radius: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 25px;
    display: inline-block;
    color: rgb(255, 255, 255);
    font-weight: 300;
    margin-bottom: 15px;
}

.tracking .btn-success {
    background-color: #54a96f !important;
}

.tracking .btn-success:hover {
    background-color: #289347;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input, .input-append .add-on, .input-prepend .add-on {
    border: 1px solid #ddd;
    padding: 10px 15px;
    height: auto;
    font-size: 16px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    box-shadow: none;
}

#jform_contact_email_copy {
    float: left;
    margin-right: 10px;
}

#jform_contact_email_copy-lbl {
    float: left;
}

.controls input, .controls textarea {
    width: 100%
}

.controls textarea {
    height: 100px
}

.contact-form legend, .contact-form .form-horizontal .control-group {
    margin-bottom: 0
}

.contact-form legend + .control-group {
    margin-top: 0
}

.contact-form .form-horizontal .control-group .controls {
    margin-left: 0
}

#contact-form h3, #contact-form legend {
    text-align: center;
    margin-bottom: 10px
}

#jform_contact_message {
    height: 212px;
}

.copy_email {
    float: left;
}

.form-button {
    float: right;
}

.form-horizontal .control-label {
    text-align: left;
    width: auto;
}

div.contact #contact-form {
    padding: 0;
}

#fav-copyrightwrap {
    background: #f6f6f6;
    /*color: #fff;*/
}

#fav-footerwrap ul.nav.menu > li.active > a {
    color: #32944D !important;
}

#fav-footerwrap li {
    padding-right: 8px;
    margin-right: 8px;
    border-right: 1px solid #333;
    display: inline-block;
}

#fav-sidebar2 .moduletable h3 {
    margin-right: -10px;
    margin-left: -10px;
    padding-left: 10px;
    margin-top: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    border-right: 3px solid #32944D;
    background: #eee;
}

#fav-footer1 .nav {
    margin-bottom: 0;
}

#fav-sidebar2 .moduletable {
    border: 1px solid #ddd;
    padding: 0 10px 10px 10px;
    -webkit-box-shadow: 0px 3px 3px #ddd;
    -moz-box-shadow: 0px 3px 3px #ddd;
    box-shadow: 0px 3px 3px #ddd;
    margin-bottom: 20px;
    margin-top: 20px;
}

.backtop.container-fluid {
    background: #f6f6f6;
}

.favnav .navigation .nav-pills a, .favnav .navigation .menunav-pills a, .favnav .navigation .nav-pills > li > a, .favnav .navigation .menunav-pills > li > a, .favnav .navigation .nav-pills span.nav-header, .favnav .navigation .menunav-pills span.nav-header, .favnav .navigation .nav-pills > li > span.nav-header, .favnav .navigation .menunav-pills > li > span.nav-header, .favnav .navigation ul.nav.menu li span.nav-header {
    padding: 40px 20px 35px;
    margin: 0px 0px 0px 0px;
    border-right: 1px solid #eee;
    font-size: 14px;
    line-height: 14px;
    font-weight: normal;
    color: #444;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.default-logo img, .media-logo img {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    max-width: 250px;
}

#fav-topbar1 .fa,#fav-topbar3 .fa {
    color: #7c889b;
}
#fav-topbar1 .fa.fa-mobile {
    display: inline-block;
    margin-left: 20px;
}

.tracking-info {
    position:absolute;
    padding: 10px;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0px 3px 3px #aaa;
    -moz-box-shadow: 0px 3px 3px #aaa;
    box-shadow: 0px 3px 3px #aaa;
}
.tracking-wrapper {
    position:relative;
}

#map {
    height: 700px;
}

.lity {
    z-index: 19990;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    white-space: nowrap;
    background: #0b0b0b;
    background: rgba(0, 0, 0, 0.9);
    outline: none !important;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.lity.lity-opened {
    opacity: 1;
}

.lity.lity-closed {
    opacity: 0;
}

.lity * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.lity-wrap {
    z-index: 19990;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    outline: none !important;
}

.lity-wrap:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}

.lity-loader {
    z-index: 19991;
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -0.8em;
    width: 100%;
    text-align: center;
    font-size: 14px;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.lity-loading .lity-loader {
    opacity: 1;
}

.lity-container {
    z-index: 19992;
    position: relative;
    text-align: left;
    vertical-align: middle;
    display: inline-block;
    white-space: normal;
    max-width: 85%;
    max-height: 100%;
    outline: none !important;
    padding: 20px;
    background: #fff;
}

.lity-content {
    z-index: 19993;
    width: 100%;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
}

.lity-loading .lity-content,
.lity-closed .lity-content {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}

.lity-content:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    /* -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); */
    /* box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); */
}

.lity-close {
    z-index: 19994;
    width: 35px;
    height: 35px;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-appearance: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    padding: 0;
    color: #fff;
    font-style: normal;
    font-size: 35px;
    line-height: 35px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    border: 0;
    background: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.lity-close::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
    text-decoration: none;
    text-align: center;
    padding: 0;
    color: #fff;
    font-style: normal;
    font-size: 35px;
    line-height: 35px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    border: 0;
    background: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.lity-close:active {
    top: 1px;
}

/* Image */
.lity-image img {
    max-width: 100%;
    display: block;
    line-height: 0;
    border: 0;
}

/* iFrame */
.lity-iframe .lity-container {
    width: 100%;
    max-width: 964px;
}

.lity-iframe-container {
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    overflow: auto;
    pointer-events: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-overflow-scrolling: touch;
}

.lity-iframe-container iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
}

.lity-hide {
    display: none;
}

.field-label {
    padding: 10px 20px;
    margin-bottom: 10px;
    display: block;
    background: #5f7394;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    font-family: PT Serif;
}
.field-entry {
    padding-bottom: 10px;
}

.cation-content {
    position: absolute;
    left: 0px;
    right:0;
    bottom:-170px;
    -webkit-animation: slideTop 0.8s forwards;
    -webkit-animation-delay: 0.5s;
    animation: slideTop 0.8s forwards;
    animation-delay: 0.5s;
}

@-webkit-keyframes slideTop {
    100% { bottom: 70px; }
}

@keyframes slideTop {
    100% { bottom: 70px; }
}
#fav-intro {
    padding-top: 40px !important;
}

h2.box-header:after, .page-header h2:after {
    width: 80px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}
.box-header:after, .page-header:after, .blog-featured h2.item-title:after, .contact h1:after {
    display: block;
    content: "";
    background: #0b76b7;
    width: 80px;
    height: 2px;
    margin: auto;
    margin-top: 20px;
}
.box-header {
    margin-bottom:30px;
}
h2.box-header, h1.box-header, .page-header h1, .contact h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: 26px;
}

#fav-notewrap .nav > li > a {
    display: block;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
#fav-notewrap .nav > li > a:before {
    content: "\f105";
    font-family: FontAwesome;
    color: #0b76b7;
    width: 40px;
    height: 2px;
    margin-top: 13px;
}

.fields-container li {
    display: block;
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.fields-container li:before {
    content: "\f1db";
    font-family: FontAwesome;
    color: #0b76b7;
    width: 40px;
    height: 2px;
    margin-top: 13px;
    font-size: 11px;
    margin-left: -20px;
    padding-right: 10px
}


.category-module .item, .blog .item{
    position: relative;
    height: 300px;
    top:0;
    left:0;
    z-index:5;
    overflow: hidden;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.fields-container {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    margin-left: 1px;
}
.field-value {
    padding: 0 15px;
    display: block;
}
.category-module .item img, .blog .item img {
    display: block;
    width: 100vw;
    height: 100vh;
    max-height: 300px;
    object-fit: cover;
}
.category-module .item-top-title h3, .blog .item-top-title h3 {
    margin:0;
}
.category-module .item-content, .blog .item-content{
    position: absolute;
    width:100%;
    bottom: 0;
    -webkit-transform: translate(0,100%);
    -moz-transform: translate(0,100%);
    -ms-transform: translate(0,100%);
    -o-transform: translate(0,100%);
    transform: translate(0,100%);

    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;

}
.category-module .item:hover .item-content, .blog .item:hover .item-content{
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
    -ms-transform: translate(0,0);
    -o-transform: translate(0,0);
    transform: translate(0,0);

    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.category-module .item-top-content, .blog .item-top-content{
    position: relative;
}
.category-module .item-top-content-inner, .blog .item-top-content-inner{
    position: absolute;
    bottom: 0;
    padding:10px 15px 10px 15px;
    background: rgba(255,255,255,.85);
    width:100%;
}

.category-module .item-add-content-inner, .blog  .item-add-content-inner{
    border:0px solid #dadada;
    border-top-width:1px;
    padding-top:10px;
}

.category-module .item-add-content, .blog .item-add-content{
    padding:0 15px 15px 15px;
    opacity:0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background: rgba(255,255,255,0.8)
}
.category-module .item:hover .item-add-content, .blog .item:hover .item-add-content{
    opacity:1
}
.category-module .section .btn, .blog .section .btn {
    margin-bottom:0
}
.category-module .expand, .blog .readmore a{
    text-align: center !important;
    display:block;
    padding-top: 10px;
    padding-bottom: 10px
}
.blog .item-image img {
    border:none;
    padding:0;
}
.category-desc {
    margin-bottom: 30px;
}
.item-top-title .page-header{
    margin: 0;
}
.blog .page-header h2{
    margin-bottom: 10px;
}
.blog .item-top-title .page-header:after {
    display: none;
}

#favglyph-box1, #favglyph-box2, #favglyph-box3 {
    border: 1px solid transparent;
    padding: 20px 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
#favglyph-box1:hover, #favglyph-box2:hover, #favglyph-box3:hover {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 20px 0;
    border-radius: 10px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.text-block {
    margin: 1px;
    padding: 30px;
    font-size: 16px;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 1px 2px rgba(0,0,0,0.3);
    line-height: 30px;
    text-align: justify;
}
.text-block p {
    margin-left: 10px;
}
.text-block p:before {
    content: "\f1db";
    font-family: FontAwesome;
    color: #0b76b7;
    width: 40px;
    height: 2px;
    margin-top: 13px;
    font-size: 11px;
    margin-left: -20px;
    padding-right: 10px
}

@media (min-width: 769px) {

    #fav-headerwrap.fixed {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 11;
        background-color: rgba(255, 255, 255, 0.9);
        -webkit-transition: background .5s ease;
        -moz-transition: background .5s ease;
        transition: background .5s ease;
        -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
        border-bottom: none;
    }

    #fav-slidewrap.fixed {
        margin-top: 93px;
    }

    #fav-headerwrap.fixed .favnav .navigation .nav-pills a, #fav-headerwrap.fixed .favnav .navigation .nav-pills > li > a {
        padding: 20px 20px 20px;
    }

    #fav-headerwrap.fixed .media-logo {
        padding: 5px 0;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }

    #fav-headerwrap.fixed .default-logo img, #fav-headerwrap.fixed .media-logo img {
        max-width: 220px;
        -webkit-transition: all 0.5s ease-in-out;
        -moz-transition: all 0.5s ease-in-out;
        -ms-transition: all 0.5s ease-in-out;
        -o-transition: all 0.5s ease-in-out;
        transition: all 0.5s ease-in-out;
    }
}
#fav-slide img {
    display: block !important;
    height: 100vh !important;
    max-height: 500px;
    object-fit: cover !important;
    margin: auto;
}
.g-recaptcha {
  clear:both
}