.clearfix {
    *zoom: 1;
}

.clearfix:before,
.clearfix:after {
    display: table;
    content: "";
    line-height: 0;
}

.clearfix:after {
    clear: both;
}

.hide-text {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.input-block-level {
    display: block;
    width: 100%;
    min-height: 30px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

a:focus {
    outline: none;
}

a.selected {
    color: #3D294A;
}

a:hover {
    text-decoration: none;
}

html,
body {
    height: 100%;
}

#wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -49px;
    background: url(../images/mainbg.png);
}

#push,
#footer-wrapper {
    height: 159px;
    overflow: hidden;
}


/*=================================================================*/


/*======================= MODULE STYLES ===========================*/


/*=================================================================*/


/*== Search ==*/

.mod-search__aside .mod-search_searchword {
    width: 100%;
}


/*== Login ==*/

.mod-login__aside .mod-login_username,
.mod-login__aside .mod-login_passwd {
    width: 100%;
      box-sizing: border-box;
}

.mod-login_submit {
    margin: 9px 0;
}

#form-login-remember label {
    margin-bottom: 20px;
}


/*Finder*/

#mod-finder-searchword {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin-bottom: 4px;
    border: 1px solid #ebebeb;
    box-shadow: none;
}


/*======================= MODULE ITEM WIDTH =======================*/

.row-fluid [class*="itemSpan"] {
    -moz-box-sizing: border-box;
    display: block;
    float: left;
    margin-left: 3.225806451612903%;
    min-height: 30px;
    width: 100%;
}

.row-fluid [class*="itemSpan"]:first-child {
    margin-left: 0;
}

.row-fluid .itemSpan1 {
    width: 100%;
}

.row-fluid .itemSpan2 {
    width: 48.38709677419355%;
}

.row-fluid .itemSpan3 {
    width: 31.182795698924732%;
}

.row-fluid .itemSpan4 {
    width: 22.580645161290324%;
}

.row-fluid .itemSpan5 {
    width: 17.419354838709676%;
}

.row-fluid .itemSpan6 {
    width: 13.978494623655914%;
}

.row-fluid .itemSpan7 {
    width: 11.520737327188941%;
}

.row-fluid .itemSpan8 {
    width: 9.67741935483871%;
}

.row-fluid .itemSpan9 {
    width: 8.243727598566307%;
}

.row-fluid .itemSpan10 {
    width: 7.096774193548387%;
}

.row-fluid .itemSpan11 {
    width: 6.158357771260998%;
}

.row-fluid .itemSpan12 {
    width: 5.376344086021505%;
}


/*======================= MODAL WINDOW =======================*/

.modalClose {
    margin: 14px;
}

div.modal.fade.in.loginPopup {
    width: 260px;
    margin: -130px 0 0 -130px;
    top: 50%;
    left: 50%;
}

.login-greeting {
    margin: 0 0 9px 0;
}

.input-modal {
    width: 146px;
}

div.modal.fade {
    z-index: -500;
}

div.modal.fade.in {
    z-index: 1100;
}


/*======================= SOCIAL MEDIA =======================*/

.social {
    text-align: right;
    margin: 0px;
}

.social li {
    display: inline;
}

.social li a {
    display: inline-block;
    font-size: 0;
    height: 32px;
    vertical-align: top;
    width: 32px;
    opacity: 1
}

.social li a:hover {
    background-color: none;
    opacity: 0.8;
}

.twitter {
    background: url(../images/social/twitter.png);
}

.facebook {
    background: url(../images/social/facebook.png);
}

.google {
    background: url(../images/social/google.png);
}

.youtube {
    background: url(../images/social/youtube.png);
}

.vimeo {
    background: url(../images/social/vimeo.png);
}

.mod-menu__social {
    display: inline-block;
    margin-left: 20px;
}


/*=================================================================*/


/*======================= COMPONENT STYLES ========================*/


/*=================================================================*/


/*Forms*/

input,
textarea {
    width: 220px;
}

textarea {
    resize: none;
}

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 {
    background: #3D294A none repeat scroll 0 0;
    border: 1px solid #2f2b2c;
    border-radius: 7px;
    box-shadow: none;
    color: white !important;
    font: 12px/30px Trebuchet MS;
    height: 30px;
    margin: 0.5em 0;
    outline: medium none;
    padding: 0 12px;
    transition: none 0s ease 0s;
    width: 264px;
}

.checkbox-radio-wrap__inline {
    display: inline-block;
    margin-left: 6px;
    vertical-align: top;
}

.checkbox-radio-wrap__inline input[type="radio"],
.checkbox-radio-wrap__inline input[type="checkbox"] {
    margin: -2px 0 0 0;
}

.page-registration form label,
.page-remind form label,
.page-reset form label,
.page-login form label,
.page-login form label,
.page-profile__edit form label {
    display: inline-block;
}

textarea.invalid {
    border: 1px solid #9D261D;
}

.form-vertical label {
    display: inline-block;
}

input::-webkit-input-placeholder {
    /* WebKit browsers */
    color: #7b7764;
    opacity: 1;
}

input:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: #7b7764;
    opacity: 1;
}

input::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: #7b7764;
    opacity: 1;
}

input:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: #7b7764;
    opacity: 1;
}


/*======================= Search & Smart Search ========================*/

ul#finder-filter-select-dates li.filter-date {
    margin-bottom: 4px;
    margin-right: 4px;
}

ul#finder-filter-select-dates li.filter-date select.filter-date-operator {
    margin-bottom: 9px;
}

#searchForm fieldset {
    margin-bottom: 20px;
}

#searchForm fieldset label {
    display: inline-block;
    margin-right: 1em;
}

#searchForm .form-limit label {
    float: left;
}

#searchForm .form-limit select {
    float: right;
    position: relative;
    top: -4px;
}

#searchForm .form-limit p {
    overflow: hidden;
    clear: both;
}

#searchForm .phrases-box {
    padding-bottom: 1em;
}

#searchForm .phrases-box label {
    min-width: 90px;
}

dl.search-results {
    margin-bottom: 30px;
}

dl.search-results dt {
    margin-top: 20px;
}

.navbar-form .btn,
.navbar-form .btn-group {
    margin-top: 5px;
}


/*======================= Gallery Page ========================*/

.page-gallery a.zoom,
.page-item__gallery a.zoom {
    position: relative;
    display: block;
    overflow: hidden;
    z-index: 1;
}

.page-gallery a.zoom span.zoom-bg,
.page-item__gallery a.zoom span.zoom-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #000;
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: 3;
}

.page-gallery a.zoom span.zoom-icon,
.page-item__gallery a.zoom span.zoom-icon {
    background: url(../images/zoom.png) left top no-repeat;
    display: block;
    width: 80px;
    height: 78px;
    position: absolute;
    top: -50%;
    left: 50%;
    margin: -33px 0 0 -33px;
    z-index: 4;
}

.body__gallery #isotopeContainer .kmt-readon {
    display: none;
}

.page-gallery a.zoom img,
.page-item__gallery a.zoom img {
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    z-index: 2;
}

.page-gallery a.zoom.active img,
.page-item__gallery a.zoom.active img {
    z-index: 2;
}

.page-gallery .item_icons,
.page-item__gallery .item_icons {
    margin-bottom: 9px;
}

.view-article #prevArrow,
.view-article #nextArrow {
    display: none;
}


/* Start: Recommended Isotope styles */


/**** Isotope Filtering ****/

.isotope-item {
    z-index: 2;
}

.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}


/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -ms-transition-property: -ms-transform, opacity;
    -o-transition-property: top, left, opacity;
    transition-property: transform, opacity;
}


/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
    -ms-transition-duration: 0s;
    -o-transition-duration: 0s;
    transition-duration: 0s;
}


/* End: Recommended Isotope styles */

ul#filters li {
    display: inline-block;
    vertical-align: top;
    margin: 9px 9px 0 0;
}

#isotopeContainer {
    padding-top: 8px;
}

#isotopeContainer .item_img {
    margin-right: 0;
}

.page-gallery_img {
    margin-left: 0;
}

.category_children .category_child {
    margin-bottom: 20px;
}


/*======================= Archives Page ========================*/

.page-archive_filters .filter-search {
    padding-bottom: 21px;
    overflow: hidden;
}

.page-archive_filters select {
    margin-bottom: 8px;
    display: inline-block;
}

.page-archive_filters button {
    display: inline-block;
    margin-bottom: 8px;
}


/*======================= Contacts Page ========================*/

#jform_contact_message {
    resize: none;
    width: 100%;
    height: 149px;
    box-sizing: border-box;
}

#contact-form label {
    display: inline-block;
    margin-bottom: 5px;
}

.phone-num {
    display: inline-block;
}

#jform_contact_name,
#jform_contact_email,
#jform_contact_emailmsg {
    width: 100%;
    box-sizing: border-box;
}

.contact_email-copy,
.contact_vcard {
    margin: 0 14px;
    height: 28px;
    line-height: 28px;
    display: inline-block;
}

.contact_vcard {
    margin: 0;
}

.com_search #searchForm .btn-primary {
    margin: 0.2em 0;
}

.contact_details .icons-marker {
    display: block;
    width: 16px;
    margin-right: 12px;
    float: left;
}

.contact_address {
    overflow: hidden;
}

#contact_map {
    background: #fff none repeat scroll 0 0;
    border: 5px solid #fff;
    height: 358px;
    margin-bottom: 19px;
}

#contact_map > div {
    height: 100%;
}

.contact_details_item {
    margin-bottom: 20px;
}

.filters {
    text-align: right;
}

.filters b {
    display: none;
}


/*======================= User Pages ========================*/

.page-login form .control-group {
    margin: 0;
}

.body__gallery .page_header h3 {
    display: none;
}


/*======================= ADDTHIS STYLES =======================*/

.page-item_addThis {
    padding-top: 12px;
}


/*======================= CAPTION FIXES =======================*/

.img_caption {
    text-align: center!important;
}

.img_caption.left {
    float: left;
    margin-right: 1em;
}

.img_caption.left p {
    clear: left;
    text-align: center;
}

.img_caption.right {
    float: right;
    margin-left: 1em;
}

.img_caption.right p {
    clear: right;
    text-align: center;
}

.img_caption.none {
    margin-left: auto;
    margin-right: auto;
}


/*======================= 404 PAGE =======================*/

.errorBox {
    background: none;
    text-align: left;
}


/*======================= OFFLINE PAGE =======================*/


/*======================= SCROLL TO TOP =======================*/

#back-top {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 99;
}

#back-top a {
    width: 51px;
    display: block;
    text-align: center;
    font-size: 12px;
    line-height: 19px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: none;
    text-decoration: none;
    color: #7b7764;
    /* transition */
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: 0.2s;
}

#back-top a:hover {
    color: #a2d438;
}


/* arrow icon (span tag) */

#back-top span {
    width: 51px;
    height: 51px;
    display: block;
    margin-bottom: 7px;
    background: url(../images/up-arrow.png) no-repeat center center;
    opacity: 1;
    filter: alpha(opacity=100);
    filter: progid: DXImageTransform.Microsoft.AlphaImageLoader() ! important;
    -ms-filter: progid: DXImageTransform.Microsoft.AlphaImageLoader() !important;
    /* transition */
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    transition: 0.2s;
}

#back-top a:hover span {
    opacity: 0.5;
    filter: alpha(opacity=50);
}
