/*
Theme Name: Anthony Barrow
Author: Tom Barrow
Author URI: http://tmbrrw.com
Description: A custom-made WordPress theme for Anthony Barrow for his 60th birthday. Happy Birthday, Dad!
Version: 1.0
*/

html,
body {
    position: relative;
    height: 100%;
    font-size: 14px;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    font-family: 'Raleway';
    font-weight: normal;
    font-style: 400;
}

a,
a:hover {
    text-decoration: none;
}

a {
    color: #888;
    transition: 0.3s ease-in-out all;
    -webkit-transition: 0.3s ease-in-out all;
    -moz-transition: 0.3s ease-in-out all;
}

a:hover {
    color: #000;
}

p {
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.9;
    color: #333;
}

label {
    font-weight: 400;
    display: block;
}

ul,
ol {
    list-style-type:circle;

}

h1, h2, h3, h4, h5, h6 {
    font-family: "BebasNeue-Regular";
    font-weight: normal;
    font-style: normal;
    color: #000;
    letter-spacing: 0.075em;
}

h1 {
    font-size: 50px;
    line-height: 60px;
}

h3, h4, h5, h6 {
    font-family: "Montserrat";
    text-transform: uppercase;
    color: #666;
}

#wrapper {
    position: relative;
    height: 100%;
}

input, select, textarea {
    width: 100%;
    padding: 5px;
    margin: 5px 0;
    border: 1px solid #ddd;
    -webkit-appearance: none;
    border-radius: 0;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -mox-transition: all 0.3s ease-in-out;
}

input:active,
input:focus,
textarea:active,
textarea:focus{
    outline: none;
    border: 1px solid #000;
}

input[type="submit"] {
    width:  auto;
    padding: 8px 10px 4px;
    letter-spacing: 0.1em;
    border: 2px solid #000;
    text-transform: uppercase;
    color: #000;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
    font-family: 'BebasNeue-Regular';
    line-height: 20px;
    font-size: 18px;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.loader {
    background-color: #fff;
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 9999;
    display: table;
    width: 100%;
    height: 100%;
    line-height: 22px;
    letter-spacing: -0.5px;
    font-family: 'BebasNeue-Regular';
    text-align: center;
}

.loader-inner {
    position: relative;
    left: 0;
    right: 0;
    display: table-cell;
    vertical-align: middle;
}

.square-spin>div {
    background: #fff;
    border: 1px solid #888;
    width: 20px;
    height: 20px;
    margin: auto;
}

/** HEADER **/

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 10;
    padding: 20px 10px;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
}


header .menu {
    font-size: 35px;
    line-height: 44px;
}

header .menu.close{
    display: none;
    color: #000;
    text-shadow: none;
    opacity: 1;
}

header .menu.open{
    display: block;
    color: #000;
}

header .logo {
    float: left;
}

header .logo h1 {
    font-family: 'BebasNeue-Regular', Helvetica, sans-serif;
    font-size: 24px;
    margin: 0;
    line-height: 47px;
}

header a.toggle-menu {
    display: block;
    float: right;
}


/** MAIN NAVIGATION **/

.navigation {
    position: fixed;
    display: block;
    z-index: 10;
    background: rgba(255, 255, 255, 0.90);
    width: 100%;
    height: 100%;
    top: 0;
    padding: 100px 0;
    opacity: 0;
    pointer-events: none;
    cursor: default;
    transition: all ease-in-out 0.5s;
}

.navigation.active {
    pointer-events: all;
    cursor:auto;
    opacity: 1;
}

.navigation #main-menu {
    position: absolute;
}
.navigation #main-menu ul {
    font-family: 'BebasNeue-Regular', Helvetica, sans-serif;
    list-style-type: none;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: 35px;
    margin: 10px 0;
    padding: 0;
    text-align: center;
}

.navigation #main-menu ul li {
    margin: 20px 0;
}

.navigation ul a {
    color: #888;
}


.navigation ul a:hover {
    color: #000;
}

.navigation #social-nav {
    position: absolute;
    bottom: 20px;
}

.navigation #social-nav ul {
    text-transform: uppercase;
    list-style-type: none;
    margin: 0;
    padding: 0 15px;
}
.navigation #social-nav ul li {
    margin: 10px 0;
    letter-spacing: 0.3em;
}

/** SLIDER **/

#slider {
    position: fixed;
    padding: 0;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;

}

#slider a {
    color: #000;
}

#slider a:hover .title {
    opacity: 1;
}

#slider .title {
    opacity: 0.6;
    letter-spacing: 0.075em;
    line-height: 1;
    z-index: 120;
    position: absolute;
    font-size: 80px;
    padding: 0 20px;
    padding: 30px 30px 18px;
    margin: 0 auto;
    left: 0;
    right: 0;
    font-family: 'BebasNeue-Regular';
    transition: 0.3s ease-in-out all;
    -webkit-transition: 0.3s ease-in-out all;
    -moz-transition: 0.3s ease-in-out all;
}

#slider .title .subtext {
    margin-top: 25px;
    font-family: 'Montserrat';
    font-size: 14px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

#slider .slides,
#slider video{
    height: 100%;
    overflow: hidden;
}

#slider .placeholder {
    display: none;
}

#slider .overlay {
    z-index: 5;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background:url(img/slide-overlay.png) repeat;
    background-size: 45px;
    pointer-events: none;
    opacity: 0.7;
}

#slider .item {
    position: relative;
    text-align: center;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

#slider .owl-controls {
    position: absolute;
    z-index: 100;
    bottom: 0;
    right: 0;
}

/** HERO VIDEO **/

#hero-vid {
    height: 105% !important;
    object-fit: cover;
}


/** GALLERY **/

#main {
    padding: 70px 15px 0;
}

#main #gallery-nav {
    font-family: 'Montserrat';
    width: 17%;
    margin: 20px 0 0;
    padding: 0;
    font-size: 13px;
    float: left;
    height: 87%;
    position: fixed;
}

#main #gallery-nav ul {
    text-transform:uppercase;
    padding: 0 0 0 10px;
    margin: 0;
    list-style-type: none;
    letter-spacing: 0.3em;
}

#main #gallery-nav ul li {
    margin: 15px 0;
}

#main #gallery-nav ul a.filter.active {
    color: #000;
}

#main #content {
    width: 83%;
    float: right;
    padding: 20px 0;
}

#main #gallery-nav .links {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 15px;
    position: absolute;
    bottom: 0;
}

#main #post-wrap,
.grid-sizer {
    width: 33.333%;
    display: block;
}

#main .grid-sizer {
    display: none;
}

#main #post-wrap #gallery-popup {
    display: block;
}

#main #post-wrap #post {
    position: relative;
    width: 100%;
    height: auto;
    padding: 2%;
}
#main #post-wrap #post #sold-badge {
    position: absolute;
    padding: 10px;
    top: 10px;
    right: 10px;
    background: #fff;
    color: crimson;
    font-weight: bold;
    text-transform: uppercase;
}
#main #post-wrap #post img {
    width: 100%;
    height: auto;
}

/** GALLERY POPUP **/

#gallery-window {
    z-index: 1500;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: none;
    font-size: 17px;
    overflow-y: scroll;
}

#gallery-window #gallery-img {
    height: 60vw;
    max-height: 650px;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
}


#gallery-window #gallery-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

#gallery-window #gallery-wrap img {
    width: auto;
    height: auto;
    float: right;
    margin-bottom: 20px;
}

#gallery-window #item-attributes {
    margin-left: 20px;
    padding: 25px 0 50px;
}

/** ABOUT PAGE **/

#content .content-bg {
    background-size: cover;
    background-position: center;
    position: fixed;
    left: 25px;
    right: 25px;
    bottom: 0;
    top: 0;
}
#content .content-area{
    background: #fff;
    position: absolute;
    top: 120px;
    bottom: 0;
    right: 0;
    overflow: hidden;
    padding: 50px 40px 50px 50px;

}
#content #text-area {
    height: 100%;
    position: relative;
    overflow-y: scroll;
    overflow-x: inherit;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

#content #footer-links {
    padding: 40px 0 0;
    text-transform: uppercase;
    font-family: 'Montserrat';
    letter-spacing: 0.3em;
}

#content .more-info {
    padding: 10px 30px 10px 0;
    position: absolute;
    top: 80px;
        line-height: 1.9;
    color: #a3a3a3;
    bottom: 0;
    display: none;
    background: rgba(255, 255, 255, 0.94);
}
#content .more-info #text-area {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}
#content .more-info .close-window {
    font-size: 40px;
    right: 24px;
    display: block;
    position: absolute;
    top: -10px;
}
#content .more-info h2 {
    margin: 0;
}

#content .more-info h3,
#content .more-info h4,
#content .more-info h5{
    margin-top: 40px;
}



/** CONTACT PAGE **/
.page-template-contact #content #text-area {
    height: 100%;
}

#content span.contact {
    font-family: 'Montserrat';
    clear: both;
    display: block;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

#content #contact-details {
    margin: 20px 0;
}

#content #text-area.contactform {
    max-height: 100%;
}

#content #text-area .mCSB_inside>.mCSB_container {
    margin-right: 40px
}
#content #text-area .mCSB_scrollTools {
    right: -7px;
}
.mCSB_scrollTools {
    top: 3%;
}


/** GIFT MESSAGE **/

#gift-wrap-note p {
    font-family: 'Raleway' !important;
    letter-spacing: -1px;
    font-size: 23px !Important;
    font-weight: bold;
}
#ribbon_v,
#ribbon_h {
    border: 0 !important;
}
