/*  
Theme Name: AerinOne
Author: Aerin
Author URI: https://aerin.co.uk/
Description: One Page SCroller
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, grid-layout, custom-background,custom-colors, custom-header, custom-menu, editor-style, featured-images, footer-widgets, theme-options, threaded-comments
Theme URI: http://onepage.aerin.co.uk/
Text Domain: aerinone

This theme, like WordPress, is licensed under the GPL. Play with it and discover the flexibility of WordPress themes.
*/

/***** RESET EVERYTHING *****/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, font, ins, kbd, q, s, samp, small, strike, strong, tt, var, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 1em;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    }

.clearfix:after, .navigation:after, #maincontent:after, #footercontent:after, .navbar:after,#headercontent:after, .acf-style:after, .entry:after, .social-wrapper:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
    }

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    }

*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
  }

/***** ACCESSIBILITY *****/

.screen-reader-text {color: #000;background: #FFF;}

/***** COLOURS *****/

body {background:#FFFFFF;color:#343838;}
#headercontent, #footercontent {color:#FFFFFF;}
#maincontent {color:#343848;}
h1 {color: #343848;}
h1 a:link,h1 a:hover ,h1 a:visited {color: #1A82C7;}
#logo-title {font-size:3rem;color:#FFFFFF;font-weight: 900;}
#logo-tagline {font-size: 1.5rem;color:#ddd9cc;}
nav a {color: #FFF;}
.topbar, .signoff {background: rgba(99,99,99,1.0);color:#FFF;}

/***** TYPOGRAPHY AND LINKS *****/

@font-face {
    font-family: AerinFont;
    src: url(assets/MuseoSans_500.otf);
}

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

body {
    text-align: left;
    font-family: AerinFont, Arial, sans-serif;
    font-size:1.2rem;
    }

h1 {
    font-size: 2rem;
    font-weight: 900;
    text-align: left;
    text-decoration: none;
    padding: 0 0 6px 0;
    margin: 0 0 6px 0;
    }

h1 a:link,h1 a:hover ,h1 a:visited {
    text-decoration: none;
    }

h2 {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: left;
    padding: 6px 0 6px 0;
    }

h2 a:link,h2 a:hover,  h2 a:visited {
    text-decoration: none;
    }

h3{
    color: #1A82C7;
    font-weight: bold;
    margin: 3px 0 3px 0;
    font-size: 1.2rem;
    }

h3 a:link, h3 a:visited{
    color: #1A82C7;
    text-decoration: none;
    }

h5, h6 {
    color: #D4726A;
    font-weight: bold;
    margin: 0 0 6px 0;
    clear: both;
    }

h4 {
    margin: 12px 0 20px 0;
    line-height: 280%;
}

h4 a {
    text-decoration:none;
    padding:7px 12px 7px 12px;
    margin: 0;
    white-space: nowrap;
    background: #404040;
    color: #FFF;
    }

h4 a:hover {
    background: rgb(26, 130, 199);
    color:#FFF;
    }

code, pre {
    font-family: courier;
    padding: 4px 0;
    }

blockquote {
    font-style: italic;
    padding: 0 6px 0 6px
    }

cite, strong {
    font-weight: bold;
    }

q {
    font-style: italic;
    }

input {
    font-family:AerinFont;
    }

/***** PAGE STRUCTURE *****/

.page-background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url(assets/bg.png);
    background-position: center;
    background-size: cover;
    opacity:1;
    transform: translateZ(0);
    }

#wrapper {
    position: relative;
    z-index: 1;
    }

#content {
    margin: 0 auto;
    }

#maincontent {
    padding: 36px;
}

#headercontent, #footercontent {
    background: rgba(255,255,255,0.1);
    padding: 18px 36px;
    }

#maincontent {
    background: rgba(255,255,255,0.1);
    }

.entry {
    background: #FFF;
    opacity: 1;
    padding: 36px;
}

/***** HEADER *****/

#logo img {
    max-width:100%;
    height:auto;
    overflow:hidden;
    margin:0 12px 4px 0;
    }

#logo a {
    text-decoration: none;
    }

/***** NAVIGATION *****/

.navbar {
    width:100%;
    z-index:900;
    background: #CB001C;
    padding-left:12px;
}

.dropdown-toggle {
    display:none;
}

nav {
    clear: both;
    }

nav ul {
    list-style: none;
    padding-left: 0;
    }

nav li {
    display: inline-block;
    }

nav li a {
    display: block;
    padding: 12px;
    margin: 0;
    text-decoration: none;
    }

nav li a:hover {
    color: #FFFFFF;
    }


.telnumber {
    float:right; margin:0;
}

/***** SEARCH *****/

#searchform input {
    margin: 3px 0 0 0;
    padding: 6px;
    color: #343838;
    font-size: 1.1rem;
    border: 1px solid #343838;
    width:100%;
    }

#searchform span {
    display: none;
    }

/***** ENTRY *****/

.entry {
    text-align:left;
    position:relative;
    }

.entry p, .entry ul, .entry ol, .summary p {
    margin-bottom: 16px;
    line-height: 160%;
}

.entry ul, .entry ol{
    margin: 0 0 8px 2em;
    }

.entry ul ul{
    margin-left: 1em;
    }

.entry p a {
    font-style:italic;
    color: #1A82C7;
    }

.entry img{
    margin: 0;
    max-width:100%;
    height:auto;
    overflow: hidden;
    }

.notsingle h1, .notsingle h2 {padding: 0; margin: 0;}

.dummy {height:1px;padding: 0;}

.entry .navigation {
    clear:both;
}

.entry .navigation #left {
    margin-top:12px;
    float:left;
    }

.entry .navigation #right {
    margin-top:12px;
    float:right;
    }

.entry .navigation a, .navigation a:visited, .entry a.more-link, .entry a.more-link:visited {
    text-decoration:none;
    padding:10px 12px 6px;
    background:rgb(26, 130, 199);
    color:#FFF;
    margin: 0;
    text-align:right;
    }

.entry .navigation a:hover, .entry a.more-link:hover {
    color: #FFF;
    background:#343838;
    }

.entry .nextpages a, a.more-link{
    margin: 1em 0;
    text-align: right;
    }

p.postmetadata, .date, .tags {
    font-size: 0.9rem;
    color: #607890;
    margin:0 0 8px 0;
    padding:0;
    font-style: italic;
    }

p.postmetadata a {
    color: #607890;
    }

.aside {
    margin: 0 10px;
    padding: 8px;
    border-left: 5px solid #7CB490;
    background: #FFF2AF;
    }

a.topbutton {
    min-width:50px;
    height:50px;
    border-radius:25px;
    font-size:20px;
    color:#fff;
    line-height:50px;
    text-align:center;
    background:#1A82C7;
    color: #FFF;
    text-decoration:none;
    position: fixed;
    right: 38px;
    bottom: 28px;
    padding: 0 3px;
    font-style: normal;  
    display:none;
    z-index: 900;
    }

a.topbutton:hover {
    background:#999;
    color: #FFFFFF;
    }

.categories a, .categories a:visited {
    text-decoration:none;
    padding:10px 12px 6px;
    background:#888;
    color:#FFF;
    margin: 0 0.5em 0.5em 0;
    display:inline-block;
    }

.categories a:hover {
    color: #FFF;
    background:#343838;
    }

/***** ENTRY IMAGES *****/

.entry .alignright {
    float: right;
    margin: 0 0 1% 3%;
    background: #FFF;
    padding: 1%;
    }

.entry .alignleft {
    float: left;
    margin: 0.4em 3% 1% 0;
    }

.entry .aligncenter{
    display: block;
    margin: 5px auto;
    }

a img {
    padding: 0px;
    background: none;
    border: none;
	}

.wp-caption {
    max-width: 100%;
    padding: 4px;
    }

.wp-caption .wp-caption-text, .gallery-caption, .entry-caption {
    font-style: italic;
    }

.sticky, .bypostauthor {
    }

.attachment-post-thumbnail {
    float: left;
    margin: 0 2% 1% 0;
    background: #FFF;
    padding: 1%;
}

alt{color:red}

.topbar, .signoff {
    padding: 28px 38px;
}

/***** COLUMNS *****/

div.columns {
   -webkit-column-count: 3; /* Chrome, Safari, Opera */
    -moz-column-count: 3; /* Firefox */
    column-count: 3;

    -webkit-column-gap: 24px; /* Chrome, Safari, Opera */
    -moz-column-gap: 24px; /* Firefox */
    column-gap: 24px;}

div.columns .entry{
    padding:24px;
margin-bottom: 24px !important;
-webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;
}
div.columns h1 {
    font-size:1.4em;padding:0;margin:0;
}
@media only screen and (max-width : 1024px) {
   }
@media only screen and (max-width : 640px){
    div.columns {
        -webkit-column-count: 2; /* Chrome, Safari, Opera */
        -moz-column-count: 2; /* Firefox */
        column-count: 2;
        padding: 12px;
        -webkit-column-gap: 12px; /* Chrome, Safari, Opera */
        -moz-column-gap: 12px; /* Firefox */
        column-gap: 12px;
        }
    div.columns .entry {
        padding:12px;
        margin-bottom: 12px !important;
    }
}

@media only screen and (max-width : 640px) {
    div.columns h1 {font-size:0.9em;}
}

/***** FOOTER *****/

footer {
    color: #FFF;
    clear:both;
      }

#footercontent{
    text-align:left;
    }

#footercontent h2 {
    color: rgb(26, 130, 199);
    padding: 0 0 8px 0;
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    }

#footercontent p, #footercontent .textwidget {
    margin: 0 0 8px 0;
    line-height: 150%;
    }

#footercontent img {
    max-width:100%;
    height:auto;
    overflow: hidden;
    }

#footercontent p a:hover {
    text-decoration: underline;
    }
/*
#left-footer {
    float: left;
    width: 70%;
    max-width: 745px;
    }

#right-footer {
    float: right;
    width: 28%;
    }
*/

/***** LEFT FOOTER MENU *****/

#left-footer ul{
    margin: 12px 0;
    padding: 0;
    list-style-type: none;
    text-align: left;
    }

#left-footer ul li {
    display: inline;
    }

#left-footer ul li a {
    color: #CCC;
    text-decoration: none;
    padding: 3px 8px 3px;
    display: inline-block;
    }

#left-footer ul li a:hover {
    color: #FFF;
    }

#left-footer li + li:before{
    content: " / ";
    padding: 0 10px;
    color: #FFF;
}

/***** RIGHT FOOTER MENU *****/

#right-footer ul{
    padding: 0;
    }

#right-footer ul li {
    display: block;
    list-style-type: none;
    }

#right-footer ul li a {
    color: #FFF;
    text-decoration: none;
    line-height: 150%;
    display: block;
    }

#right-footer ul li a:hover {
    color: #FFF;
    }

#menu-footer.children, #menu-footer.children li, #menu-footer.children li a {
    border:none;
    }

#signoff {
    clear: both;
    margin: 12px 0 0 0;
    padding: 12px;
    text-align:left;
    }

#signoff p, #signoff h2{margin-bottom:18px;}

/***** SOCIAL *****/

div .social-wrapper {
    list-style-type:none;
    margin:0 0 12px 0;
    padding:0;
}

header .social-wrapper {float: right;}

.social-wrapper .social-link {
    float: left;
    width: 38px;
    height: 38px;
    margin: 0 5px 0 0;
    background: #fff url(/assets/sm-icons.png) no-repeat 0 0;
    background: rgba(255,255,255,0) url(assets/sm-icons.png) no-repeat 0 0;
    filter: alpha(opacity=80);
    opacity: 0.8;
    -webkit-transition: opacity 0.2s ease;
    -moz-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}

header .social-wrapper .social-link {
    margin: 0 0 0 5px;    
    }

.social-wrapper .social-link.round {
    border-radius: 19px;
}

.social-wrapper .social-link.grey {
    filter: gray; /* IE6-9 */
    filter: grayscale(1); /* Firefox 35+ */
    -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
    }

.social-wrapper .social-link.roundgrey {
    border-radius: 19px;
    filter: gray; /* IE6-9 */
    filter: grayscale(1); /* Firefox 35+ */
    -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
    }

.social-wrapper .social-link.grey:hover, .social-wrapper .social-link.roundgrey:hover{
    filter: none;
    -webkit-filter: grayscale(0);
    }

.social-wrapper .social-link:hover {
    filter: alpha(opacity=100);
    opacity: 1;
    -webkit-transition: opacity 0.2s ease;
    -moz-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    }

.social-wrapper .social-link a {
    display: block;
    width: 38px;
    height: 38px;
    text-indent: -9999px;
    overflow: hidden;
}

.social-wrapper .social-link.facebook {background-position: -247px -50px;}
.social-wrapper .social-link.flickr {background-position: -149px -2px;}
.social-wrapper .social-link.gplus {background-position: -198px -100px;}
.social-wrapper .social-link.instagram {background-position: -149px -100px;}
.social-wrapper .social-link.linkedin {background-position: -100px -2px;}
.social-wrapper .social-link.pinterest {background-position: -51px -100px;}
.social-wrapper .social-link.rss {background-position: -50px -2px;}
.social-wrapper .social-link.skype {background-position: -198px -50px;}
.social-wrapper .social-link.tumblr {background-position: -100px -50px;}
.social-wrapper .social-link.twitter {background-position: -2px -2px;}
.social-wrapper .social-link.vimeo {background-position: -2px -50px;}
.social-wrapper .social-link.youtube {background-position: -247px -100px;}

/***** COMMENTS *****/

#comments {clear:left;}
#comments h2 {font-size: 1.2rem;}
#comments ol, #comments ul{margin: 0;padding: 0;list-style: none;}
#comments li{margin-top:8px;padding: 8px;}
#comments ol.commentlist li {border: 1px solid #8E9E82;}
#comments ul.children li {margin: 8px 0 0 60px;border: 1px solid #8E9E82;background: #F5FFFA;}
#comments .comment-avatar {width: 60px;margin:0;float: left;}
#comments .comment-content {margin: 0  0 0 60px;}
#comments .comment-content cite a.url {text-decoration: none;color: #495370;}
#comments.comment-notes, #comments.form-allowed-tags, #comments.comment-form-comment label {display: none;}
.comment-meta.commentmetadata {clear:left;color: #343838;font-style: italic;margin: 0 0 0 60px;font-size:0.6rem;}
#comments div.reply {text-align: right;}
#comments div a.comment-reply-link {text-decoration: none;color: #343838;margin-left: 60px;}

/***** COMMENT FORM *****/

#commentform {
    margin: 10px 0 0 0;
    }

h3#reply-title {
    color: #343838;margin: 8px 0 8px 0;
    }

h3#reply-title a {
    color: #343838
    }

table.hms-testimonials-form {width:100%;}

.hms-testimonials-form input, .hms-testimonials-form textarea, .hms-testimonials-form input[type=submit],
#commentform input, #commentform textarea, #commentform #submit {
    margin: 2px 0 3px 0;padding: 6px;height:auto;color: #465069;border:1px solid #415063;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;font-family:AerinFont
    }

#commentform #submit, .hms-testimonials-form input[type=submit]{
    color: #FFF;
    background: #343838;
    text-align: center;
    cursor: pointer;
    padding: 6px 0;
    }

.form-allowed-tags {display:none;}

/***** CONTACT FORM *****/

.acf-widget th{text-align:left;}

/***** SEO *****/

.aerinseo {width:100%;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;}

/***** CONTACT FORM *****/

.acf-style {text-align: left;margin: 0 0 10px 0;padding: 0;max-width:100%;overflow:hidden;width:100%;}
.acf-style form {margin: 0;padding: 0;}
.acf-style input[type=text], .acf-style textarea, .acf-style select, .acf-style #submit {font-size: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;font-family:inherit;background:#FFFFFF;color: #343848;border: 2px solid #415063;line-height:normal;height:auto; margin: 2px 0 3px 0;padding: 6px;}
.smallinput {width:3em !important;}
.acf-style .acfcontainer input + label, .acf-style .acfcontainer textarea + label {color: #343848;;}
.acf-style input:focus, .acf-style textarea:focus {background:#FFFFCC;}
.acf-style .acf-empty input[type=text].required, .acf-style .acf-empty select.required, .acf-style .acf-empty textarea.required {border: 2px solid #1A82C7; !important;}
.acf-style p span, .acf-style .error {color:#D31900;clear:both;}
.acf-style p {margin: 4px 0;}
.acf-style p, .acf-style select{color: #343848;height:auto;line-height:normal;height:auto;}
.acf-style p span {color: #D31900;clear:both;}
.acf-style input[type=text].error, .acf-style textarea.error {border: 2px solid #D31900 !important; }
.acf-style .validator {margin-left: -999px;height:0;}
.acf-style #submit {height:auto;overflow:hidden;background:#343838;color:#FFF;border:none;}
.acf-style #submit:hover{background:#1A82C7;}
.acf-style #submit, .acf-style #submit:hover{text-align: center;cursor: pointer;}
.acf-text-input input, .acf-text-input textarea {-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-o-transition: all 0.3s ease;-ms-transition: all 0.3s ease;}
.acf-text-input label {-webkit-transition: all 0.3s ease;-moz-transition: all 0.3s ease;-o-transition: all 0.3s ease;-ms-transition: all 0.3s ease;}
.acf-text-input { position: relative; width: 100%; }
.acf-text-input input, .acf-text-input textarea { padding-top: 1em !important; outline: none; }
.acf-text-input label { position: absolute; top: 2px; left: 0; margin: 6px; font-size: 0.6em; }
.acf-text-input label:hover { cursor: text; }
.acf-empty input, .acf-empty textarea { padding-top: 6px !important;}
.acf-empty label { font-size: 1em; }
.acf-empty label:hover { cursor: text; }
#ui-datepicker-div {display:none;}

/***** LIGHTBOX *****/

#lightbox {position:fixed;top:0;left:0;width:100%;height:100%;text-align:center;z-index:101;}
#lightbox #content { width: 100%; height: 100%; }
#lightbox img { display: block; max-width: 90vw; max-height: 90vh; }
#lightbox p  {margin:0;padding:0;}
#boxything { 
	position: absolute; display: inline-block; text-align: center; transform: translate(-50%,-50%); -webkit-transform: translate(-50%,-50%); top: 50%; left: 50%;  
	box-shadow:0 0 25px #111;
	-webkit-box-shadow:0 0 25px #111;
	-moz-box-shadow:0 0 25px #111;
}
#boxything p {position:absolute; bottom: 0.3em; padding: 0.3em; max-width: 100%; text-align:center; background: rgba(255,255,255,.5);  left: 0.3em; right: 0.3em; }
#lightbox p span {}
#boxyclose { position: fixed; top: 0.3em; right: 0.3em; width: 30px; height: 30px; background-image: url('assets/close.png'); cursor: pointer; }

/***** TOGGLE *****/

h3.aerin-toggle {cursor: pointer;}
h3.aerin-toggle a {text-decoration: none;display: block;}
.toggle {clear:both;margin: 0;overflow: hidden;}
.toggle {border:1px solid #343848; padding: 8px;background: rgba(255,255,255,1);}
.toggle img {margin-top: 0.7em;}

/***** CLONED MENU *****/

.cloned { top: 0; left: 0; right: 0; position: fixed; margin: 0 auto; display: none;}



/***** Styles for screen 769px and higher *****/

@media screen and (min-width: 769px) {
    body.blog div.entry {vertical-align:top;}
}

/***** Styles for screen 768px and lower *****/

@media screen and (max-width: 768px) {
    #headercontent, #footercontent, #maincontent {padding: 24px;}
    .entry, .topbar, .signoff {padding: 24px;}
    .navbar {padding-left:6px;}
    a.topbutton {right:12px;}
    footer {margin: 0;padding: 0;}
    #logo-title {font-size:2rem}
    #logo-tagline {font-size:1.3rem}
    nav {font-size: 0.9rem;}
    nav li a {padding: 6px;}
    h1 {font-size: 1.6rem;}
	
	/***** CLONED MENU *****/

	.cloned .menu-main-container {  }
}

/***** Styles for screen 700px and lower *****/

@media screen and (max-width: 700px) {
    body {font-size:0.9em;}
    .navbar {padding-left:6px;}
    #headercontent, #footercontent, #maincontent {padding: 18px;}
    .entry, .topbar, .signoff {padding: 18px;}
    #logo {margin-bottom:6px;}
    #logo img {max-height:50px;}
    .entry p, .entry ul, .entry ol, .summary p {line-height: 150%;}
    }

/***** Styles for screen 480px and lower *****/

@media only screen and (max-width: 480px) {
    .entry img.alignright, .entry img.alignleft {max-width:45%;}
    #maincontent {padding: 0;}
    .attachment-post-thumbnail{width:100% !important;}
    }

/***** Smartphone *****/

@media only screen and (max-width:479px) {
    #left-footer {float: left;width: 100%;margin-bottom: 24px;}
    #right-footer {float: right;width: 100%;}
}
