/*!
Theme Name: smilefriend
Author: すまいるフレンド歯科
*/

@import url('https://fonts.googleapis.com/css2?family=Allerta+Stencil&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
font-family: 'Noto Sans JP', sans-serif;
font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
color: #4d4d4d;
}

/* Sections
	 ========================================================================== */

body {
font-family: 'Noto Sans JP', sans-serif;
font-weight: 400;
  font-size: 15px;
  	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
  color: rgb(77, 77, 77);
  line-height: 2;
  letter-spacing: .05rem;
	margin: 0;
	overflow-x: hidden;
}


main {
	display: block;
}

/* Grouping content
	 ========================================================================== */


hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}


code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}


sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */


img {
	border-style: none;
}

/* Forms
	 ========================================================================== */


button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}


button,
input {
	overflow: visible;
}


button,
select {
	text-transform: none;
}


button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}


button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}


button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}


fieldset {
	padding: 0.35em 0.75em 0.625em;
}


legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}


textarea {
	overflow: auto;
}


[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */


details {
	display: block;
}

summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */


template {
	display: none;
}


[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Noto Sans JP', sans-serif;
font-weight: bold;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
color: #202020;
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: none;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}


/* ––––––––––––––––––––––––––––––––––––––––––––––––––
menu nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */
#nav{
  background-color: rgb(17, 199, 54);
}
.menu-container {
    width: 100%;
    margin: 0 auto;
}

.menu-mobile {
    display: none;
    padding: 20px;
}

.menu > ul {
    margin: 0 auto;
    width: 100%;
        height: 95px;
    list-style: none;
    padding: 0;
    position: relative;
    /* IF .menu position=relative -> ul = container width, ELSE ul = 100% width */
    box-sizing: border-box;
        display: flex;
    justify-content: center;
}

.menu > ul:before,
.menu > ul:after {
    content: "";
    display: table;
}

.menu > ul:after {
    clear: both;
}

.menu > ul > li {
    float: left;
    padding: 0;
    margin: 0;
}

.menu > ul > li a {
    text-decoration: none;
    padding: 1.72rem 1rem;
    display: block;
    color: rgb(255, 255, 255);
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    letter-spacing: .1rem;
}

.menu > ul > li > ul {
    display: none;
    width: 100%;
    background: #fff;
    padding: 40px 15%;
    position: absolute;
    z-index: 99;
    left: 0;
    right: 0;
    margin: 0 auto;
    list-style: none;
    box-sizing: border-box;
    box-shadow: 0px 5px 7.36px 0.64px rgba(119, 119, 119, 0.2);
}
@media(min-width: 1200px){
.menu > ul > li > ul {
    padding: 40px 25%;
}
}
@media(min-width: 1800px){
.menu > ul > li > ul {
    padding: 40px 30%;
}
}
.menu > ul > li > ul:before {
    content: "";
    width: 100%;
    height: 100%;
/*    height: -webkit-calc(100% + 5px);
    height: calc(100% + 5px);
    border-top: 5px solid rgb(241, 155, 192);*/
    background: #fff;
    position: absolute;
    top:0;
    left: 99%;
    box-shadow: 0px 16px 7.36px -10.64px rgb(119 119 119 / 20%);
    overflow: hidden;
}
.menu > ul > li > ul:after {
    content: "";
    width: 100%;
    height: 100%;
/*    height: -webkit-calc(100% + 5px);
    height: calc(100% + 5px);
    border-top: 5px solid rgb(241, 155, 192);*/
    background: #fff;
    position: absolute;
    top:0;
    right: 99%;
    box-shadow: 0px 16px 7.36px -10.64px rgb(119 119 119 / 20%);
    overflow: hidden;
}
.menu > ul > li > ul:after {
    clear: both;
}
.menu > ul > li > ul > li {
margin: 0 auto;
    width: 33%;
    float: left;
}
.menu > ul > li > ul > li a {
    color: rgb(41, 170, 67);
    font-weight: 500;
    padding: 0;
    width: 100%;
    display: block;
        text-align: center;
}
.menu > ul > li > ul > li > ul {
    display: block;
    padding: 0;
    margin: 10px 0 0;
    list-style: none;
    box-sizing: border-box;
}

.menu > ul > li > ul > li > ul:before,
.menu > ul > li > ul > li > ul:after {
    content: "";
    display: table;
}

.menu > ul > li > ul > li > ul:after {
    clear: both;
}

.menu > ul > li > ul > li > ul > li {
    float: left;
    width: 100%;
    padding: 10px 0;
    margin: 0;
    font-size: .8em;
}

.menu > ul > li > ul > li > ul > li a {
    border: 0;
}

.menu > ul > li[title]{
	
}

/* メニュー title指定
--------------------------------------------- */
.menu > ul > li a[title]:before{
	position: relative;
	font-size: 10px;
	font-weight: bold;
	line-height: 1;
	display: block;
}
.menu > ul > li a[title="HOME"]:before{
content: 'HOME';
}
.menu > ul > li a[title="CONCEPT"]:before{
content: 'CONCEPT';
}
.menu > ul > li a[title="CLINIC"]:before{
content: 'CLINIC';
}
.menu > ul > li a[title="MEDICAL"]:before{
content: 'MEDICAL';
}
.menu > ul > li a[title="STAFF"]:before{
content: 'STAFF';
}
.menu > ul > li a[title="ACCESS"]:before{
content: 'ACCESS';
}
.menu > ul > li a[title="RESERVATION"]:before{
content: 'RESERVATION';
}






@media(max-width: 992px){
.menu > ul > li a{
      font-size: 13px;
}
}


/* clone-nav
--------------------------------------------- */
.header-wp-sp{
  display: none;
}


.clone-nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  transition: .3s;
  transform: translateY(-120%);
  background: rgb(255, 255, 255);
}
.is-show {
  transform: translateY(0);
}

/*スクロールナビ*/
.clone-head-wp,
.clone-head-logo{
  display: none;
}
.clone-nav .clone-head-logo,
.clone-nav .clone-head-wp{
	display: block;
}
.clone-nav{
background-color: rgb(255, 255, 255)!important;	
}
.main-navigation.is-show{
    box-shadow: 0px 5px 7.36px 0.64px rgb(119 119 119 / 20%);
    margin: 0 auto;
    height: 100px;
    width: 100%;
}
.clone-nav .menu-container{
	width: 1050px;
	margin: 0 auto;
}
.clone-nav .menu-container .menu{
	position: relative;
}
.clone-nav .menu > ul{
        height: auto;
display: flex;
    justify-content: flex-end;
    padding: 0;
    position: relative;
    box-shadow: 0px 5px 7.36px 0.64px rgb(119 119 119 / 20%);
    background: #fff;
}
.clone-nav .menu > ul:before {
content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    left: 99%;
    box-shadow: 0px 16px 7.36px -10.64px rgb(119 119 119 / 20%);
    overflow: hidden;
}
.clone-nav .menu > ul:after {
content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    right: 99%;
    box-shadow: 0px 16px 7.36px -10.64px rgb(119 119 119 / 20%);
    overflow: hidden;
}
.clone-nav .menu > ul > li > ul{
	z-index: -1;
    padding: 40px 15%;
}
.clone-nav .menu > ul > li > a{
	padding: .2rem 1rem .3rem;
  color: rgb(76, 76, 76);
  font-weight: 500;
}
@media(max-width: 992px){
.clone-nav .menu > ul > li > a{
    padding: .5rem 1rem .3rem;
}
}
.clone-nav .menu > ul > li > a:after{
	bottom: .1rem;
}
.clone-nav .menu > ul > li a[title]:before {
  color: rgb(175, 175, 175);
    line-height: .3;
}
.clone-head-logo{
  float: left;
}
.is-show ul.nav{
  width: 60%;
  margin-right: 0;
}
.is-show ul.nav > li a {
  text-decoration: none;
  padding: 0rem 1rem;
  display: block;
  font-size: 13px;
  font-family: 'Bellota Text', cursive,sans-serif;
  color: rgb(82, 85, 82);
}
.clone-head-wp .head-tr-tel{
  margin-right: 1rem;
}
.clone-head-logo h1{
  font-size: 12px;
  font-weight: 400;
  color: rgb(128, 128, 128);
  margin: .3rem 0 0;
  letter-spacing: .05rem;
}
.clone-head-logo a{
    display: block;
    margin-top: .3rem;
	
	color:#29aa43;
	margin: 0;
    font-size: 25px;
	font-weight:600;
	display:block;
	line-height:1;
    padding: 10px 0;
}
.clone-head-logo a img{
    width: 300px;
    max-width: 300px;
  height: auto;
}
.clone-head-wp .head-tr{
	    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.clone-head-wp .head-tr .head-tr-tel{
  font-size: 26px;
  color: rgb(32, 32, 32);
  font-weight: bold;
    line-height: 1;
}
.head-tr-reservation a{
display: block;
}
.clone-head-wp .head-tr .head-tr-tel img{
width: 10px;
    height: 24px;
    margin-right: 0.5rem;
    position: relative;
    top: -0.1rem;
}
.head-tr-reservation a img{
	width: 115px;
	height: 50px;
}
.clone-nav .menu-mobile{
	display: none!important;
}
/*///スクロールナビ*/



.description {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}


#secondary-menu .secondary-menu{
    display: none;
}
#secondary-menu .secondary-menu.clone-nav{
    display: block;
}

@media(max-width: 1050px){
    #nav .menu-container {
    width: 100%;
    padding: 0 1rem;
}
}


	.cd-morph-dropdown > div.gadsadg h2{
		color: rgb(41, 170, 67)!important;
	}

/* ––––––––––––––––––––––––––––––––––––––––––––––––––
992px menu nav
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.custom-menu{
    position: fixed;
    top: 0;
        z-index: 99999;
}

.shadow {
  box-shadow: 0px 4px 10.56px 1.44px rgba(0, 0, 0, 0.1);
}


@media(max-width: 992px){
.home main {
    margin-top: 0;
}
#secondary-menu main,
.archive .entry-header,
.single .entry-header{
    margin-top: 70px;
}

.bodyfixed {
overflow: hidden!important;
}

.cd-morph-dropdown.nav-open .morph-dropdown-wrapper{
    overflow: scroll;
    -ms-overflow-style: none;
}

.cd-morph-dropdown.nav-open .morph-dropdown-wrapper::-webkit-scrollbar {
    display:none;
}

.cd-morph-dropdown.nav-open .morph-dropdown-wrapper{
    scrollbar-width: none;
}

.site-branding,.clone-nav,#nav{
    display: none!important;
}
.custom-logo-link img {
    width: 210px!important;
}
}

@media(min-width: 992px){
.custom-menu{
    display: none;
}
}


@media(max-width: 992px){
.cd-morph-dropdown > div h1 {
  font-size: 11px;
  font-weight: 400;
  color: rgb(128, 128, 128);
  margin: 0.5rem auto 0.3rem;
}








.cd-morph-dropdown {
position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
  background-color: #FFFFFF;
}
.cd-morph-dropdown::before {
  /* never visible - used in JS to check mq */
  content: 'mobile';
  display: none;
}
.cd-morph-dropdown.nav-open{
        width: 90%;
right: 0;
  background-color: rgb(117, 208, 135);
}

.cd-morph-dropdown.nav-open > div .logoagr{
    display: none;
}

.cd-morph-dropdown > div{
    display: flex;
    align-items: center;
}
.cd-morph-dropdown > div.gadsadg{
height: 70px;
margin-left: 1rem;
}
.cd-morph-dropdown .logo_{
    width: 75px;
}
.cd-morph-dropdown > div .search{
    display: none;
}

.cd-morph-dropdown.nav-open > div .search{
    display: block;
    margin: 0 0 0 1.2rem;
}

.cd-morph-dropdown .nav-trigger {
  /* menu icon - visible on small screens only */
  position: absolute;
    top: 0.3rem;
    right: 0.5rem;
  height: 60px;
  width: 60px;
  /* replace text with icon */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  color: transparent;
      z-index: 9999;
}
.cd-morph-dropdown .nav-trigger:hover{
    opacity: 1!important;
}
.cd-morph-dropdown .nav-trigger span, 
.cd-morph-dropdown .nav-trigger span::after,
 .cd-morph-dropdown .nav-trigger span::before {
  /* these are the 3 lines of the menu icon */
  position: absolute;
  background-color: #17d03c;
  height: 1.5px;
  width: 30px;
}
.cd-morph-dropdown.nav-open .nav-trigger span, 
.cd-morph-dropdown.nav-open .nav-trigger span::after, 
.cd-morph-dropdown.nav-open .nav-trigger span::before{
     background-color: #fff;
}

.cd-morph-dropdown .nav-trigger span {
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
  -webkit-transition: background-color .3s;
  transition: background-color .3s;
}
.cd-morph-dropdown .nav-trigger span::after, .cd-morph-dropdown .nav-trigger span::before {
  content: '';
  left: 0;
  -webkit-transition: -webkit-transform .3s;
  transition: -webkit-transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s;
}
.cd-morph-dropdown .nav-trigger span::before {
  -webkit-transform: translateY(-9px);
      -ms-transform: translateY(-9px);
          transform: translateY(-9px);
}
.cd-morph-dropdown .nav-trigger span::after {
  -webkit-transform: translateY(9px);
      -ms-transform: translateY(9px);
          transform: translateY(9px);
}
.cd-morph-dropdown.nav-open .nav-trigger span {
  background-color: transparent;
}
.cd-morph-dropdown.nav-open .nav-trigger span::before {
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.cd-morph-dropdown.nav-open .nav-trigger span::after {
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.cd-morph-dropdown .main-nav {
  display: none;
}

.morph-dropdown-wrapper .dropdown-list > ul{
    margin: 0;
    padding: 0;
}

.cd-morph-dropdown .morph-dropdown-wrapper {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  padding: 1.2rem 0 5rem;
  box-shadow: inset 0 1px 0 #e6e6e6;
  background-color: rgb(222, 240, 226);
      z-index: 9999;
}

.morph-dropdown-wrapper .dropdown-list a{
  font-size: 15px;
  font-weight: 500;
  color: rgb(76, 76, 76);
}

.morph-dropdown-wrapper .dropdown-list a:before{
    content: '›';
display: inline-block;
margin-right: .5rem;
}
.dropdown-list ul.sub-menu{
    margin: 0 0 1rem 0;
}
.dropdown-list ul.sub-menu li{
    margin-bottom: .5rem;
}
.dropdown-list ul.sub-menu li > a{
    padding-left: 2rem;
}
.dropdown-list ul > li > a{
    display: block;
    padding-bottom: 1rem;
}
.cd-morph-dropdown.nav-open .morph-dropdown-wrapper {
    display: block;
    overflow: scroll;
    height: 100vh;
}
.cd-morph-dropdown .dropdown-list > ul > li,
.menu-item-has-children > a {
  margin-bottom: 1rem;
      border-bottom: 1px dashed #afafaf;
}
.cd-morph-dropdown .dropdown-list > ul > li > a{
    padding-left: 2rem;
}
.cd-morph-dropdown .label {
  display: block;
  font-size: 2.2rem;
  color: #1A1A1A;
  margin-bottom: .8em;
}
.cd-morph-dropdown .content li::after {
  clear: both;
  content: "";
  display: block;
}
.cd-morph-dropdown .gallery .content li {
  margin-bottom: 1.4em;
}
.cd-morph-dropdown .gallery .content a {
  display: block;
}
.cd-morph-dropdown .gallery .content a::before {
  /* icon on the left */
  content: '';
  display: inline-block;
  float: left;
  height: 54px;
  width: 54px;
  margin-right: .6em;
  background: red;
  border-radius: 50%;
  -webkit-transition: background .2s;
  transition: background .2s;
}
.cd-morph-dropdown .gallery .content a span, .cd-morph-dropdown .gallery .content a em {
  display: block;
  line-height: 1.2;
}
.cd-morph-dropdown .gallery .content a em {
  font-size: 1.8rem;
  padding: .4em 0 .2em;
  color: #1A1A1A;
}
.cd-morph-dropdown .gallery .content a span {
  font-size: 1.4rem;
  color: #a6a6a6;
}
.cd-morph-dropdown .gallery .content a:hover::before {
  background-color: #1A1A1A;
}
.cd-morph-dropdown .gallery li:nth-of-type(1) a::before {
  background: #f4e58a url(../img/cd-gallery-icons.svg) no-repeat 0 0;
}
.cd-morph-dropdown .gallery li:nth-of-type(2) a::before {
  background: #F4AF6D url(../img/cd-gallery-icons.svg) no-repeat -54px 0;
}
.cd-morph-dropdown .gallery li:nth-of-type(3) a::before {
  background: #DB6356 url(../img/cd-gallery-icons.svg) no-repeat -108px 0;
}
.cd-morph-dropdown .gallery li:nth-of-type(4) a::before {
  background: #8D4645 url(../img/cd-gallery-icons.svg) no-repeat -162px 0;
}
.cd-morph-dropdown .links .content > ul > li {
  margin-top: 1em;
}
.cd-morph-dropdown .links-list a,
.cd-morph-dropdown .btn {
  display: block;
  margin-left: 14px;
  font-size: 2.2rem;
  line-height: 1.6;
}
.cd-morph-dropdown .links-list a:hover,
.cd-morph-dropdown .btn:hover {
  color: #1A1A1A;
}
.cd-morph-dropdown .content h2 {
  color: #a6a6a6;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.3rem;
  margin: 20px 0 10px 14px;
}
}


@media only screen and (min-width: 992px) {
  .cd-morph-dropdown {
    position: absolute;
    height: 80px;
    left: 0;
    top: 0;
    width: 100%;
    padding: 0;
    text-align: center;
    background-color: transparent;
  }
  .cd-morph-dropdown::before {
    content: 'desktop';
  }
  .cd-morph-dropdown .nav-trigger {
    display: none;
  }
  .cd-morph-dropdown .main-nav {
    display: inline-block;
  }
  .cd-morph-dropdown .main-nav > ul > li {
    display: inline-block;
    float: left;
  }
  .cd-morph-dropdown .main-nav > ul > li > a {
    display: block;
    padding: 0 1.8em;
    height: 70px;
    line-height: 70px;
    color: #FFFFFF;
    font-size: 1.8rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-transition: opacity .2s;
    transition: opacity .2s;
  }
  .cd-morph-dropdown.is-dropdown-visible .main-nav > ul > li > a {
    /* main navigation hover effect - on hover, reduce opacity of elements not hovered over */
    opacity: .6;
  }
  .cd-morph-dropdown.is-dropdown-visible .main-nav > ul > li.active > a {
    opacity: 1;
  }
  .cd-morph-dropdown .morph-dropdown-wrapper {
    /* dropdown wrapper - used to create the slide up/slide down effect when dropdown is revealed/hidden */
    display: block;
    top: 58px;
    /* overwrite mobile style */
    width: auto;
    padding: 0;
    box-shadow: none;
    background-color: transparent;
    /* Force Hardware acceleration */
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    will-change: transform;
    -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
            transform: translateY(20px);
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
  }
  .cd-morph-dropdown.is-dropdown-visible .morph-dropdown-wrapper {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
  }
  .cd-morph-dropdown .dropdown-list {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    will-change: transform, width, height;
    -webkit-transition: visibility .3s;
    transition: visibility .3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  }
  .no-csstransitions .cd-morph-dropdown .dropdown-list {
    display: none;
  }
  .cd-morph-dropdown .dropdown-list::before {
    /* dropdown top triangle */
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    height: 0;
    width: 0;
    border: 8px solid transparent;
    border-bottom-color: #FFFFFF;
    opacity: 0;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
  }
  .cd-morph-dropdown .dropdown-list > ul {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }
  .cd-morph-dropdown.is-dropdown-visible .dropdown-list {
    visibility: visible;
    -webkit-transition: width .3s, height .3s, -webkit-transform .3s;
    transition: width .3s, height .3s, -webkit-transform .3s;
    transition: transform .3s, width .3s, height .3s;
    transition: transform .3s, width .3s, height .3s, -webkit-transform .3s;
  }
  .cd-morph-dropdown.is-dropdown-visible .dropdown-list::before {
    opacity: 1;
  }
  .cd-morph-dropdown .dropdown {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    visibility: hidden;
    width: 100%;
    -webkit-transition: opacity .3s, visibility .3s;
    transition: opacity .3s, visibility .3s;
  }
  .cd-morph-dropdown .dropdown.active {
    opacity: 1;
    visibility: visible;
  }
  .cd-morph-dropdown .dropdown.move-left .content {
    -webkit-transform: translateX(-100px);
        -ms-transform: translateX(-100px);
            transform: translateX(-100px);
  }
  .cd-morph-dropdown .dropdown.move-right .content {
    -webkit-transform: translateX(100px);
        -ms-transform: translateX(100px);
            transform: translateX(100px);
  }
  .cd-morph-dropdown .label {
    /* hide the label on bigger devices */
    display: none;
  }
  .cd-morph-dropdown .content {
    padding: 2.2em 1.8em;
    -webkit-transition: -webkit-transform .3s;
    transition: -webkit-transform .3s;
    transition: transform .3s;
    transition: transform .3s, -webkit-transform .3s;
    text-align: left;
  }
  .cd-morph-dropdown .content > ul::after {
    clear: both;
    content: "";
    display: block;
  }
  .cd-morph-dropdown .content > ul > li {
    width: 48%;
    float: left;
    margin-right: 4%;
    margin-top: 0;
  }
  .cd-morph-dropdown .content > ul > li:nth-of-type(2n) {
    margin-right: 0;
  }
  .cd-morph-dropdown .gallery .content {
    /* you need to set a width for the .content elements because they have a position absolute */
    width: 510px;
    padding-bottom: .8em;
  }
  .cd-morph-dropdown .gallery .content li {
    margin-bottom: 1.8em;
  }
  .cd-morph-dropdown .links .content > ul > li {
    margin-top: 0;
  }
  .cd-morph-dropdown .links .content,
  .cd-morph-dropdown .button .content {
    width: 390px;
  }
  .cd-morph-dropdown .links-list a {
    font-size: 1.6rem;
    margin-left: 0;
  }
  .cd-morph-dropdown .btn {
    display: block;
    width: 100%;
    height: 60px;
    margin: 1.5em 0 0;
    font-size: 1.8rem;
    text-align: center;
    color: #FFFFFF;
    line-height: 60px;
    background: #DB6356;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .cd-morph-dropdown .btn:hover {
    background: #1A1A1A;
    color: #FFFFFF;
  }
  .cd-morph-dropdown .content h2 {
    font-size: 1.8rem;
    text-transform: none;
    font-weight: normal;
    color: #1A1A1A;
    margin: 0 0 .6em;
  }
  .cd-morph-dropdown .bg-layer {
    /* morph dropdown background */
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 1px;
    background: #FFFFFF;
    opacity: 0;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
    -webkit-transform-origin: top left;
        -ms-transform-origin: top left;
            transform-origin: top left;
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    will-change: transform;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
  }
  .cd-morph-dropdown.is-dropdown-visible .bg-layer {
    opacity: 1;
    -webkit-transition: opacity .3s, -webkit-transform .3s;
    transition: opacity .3s, -webkit-transform .3s;
    transition: transform .3s, opacity .3s;
    transition: transform .3s, opacity .3s, -webkit-transform .3s;
  }
}

/* -------------------------------- 

Main site content

-------------------------------- */
.cd-main-content {
  min-height: 100vh;
  background-color: #548c7e;
}
@media only screen and (min-width: 992px) {
  .cd-main-content {
    padding-top: 80px;
  }
}



/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

/*.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}*/

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
