/*
	Theme Name: FedericaOronti
	Description: Theme created for Federica Oronti Website
	Version: 1
	Author: Alessandro Conti
*/


/*------------------------------------*\
    GENERAL
\*------------------------------------*/

*,
*:after,
*:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

html {
    min-width: 320px;
    min-height: 100px;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    margin: 0;
    background-color: #fff;
    background-repeat: repeat;
    font-family: "Lato";   
    line-height: 1.5;
    color: #000;
}

a {
    color: inherit;
    text-decoration: none;
    outline: none;
    position: relative;
}

a:focus, 
a:visited, 
a:active {
    color: inherit;
    text-decoration: unset;
    outline: none;
}

a:hover {
    color: #000;
    text-decoration: unset;
}

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

input:focus {
    outline: 0;
    border: 1px solid #04A4CC;
}

ul {
    padding: 0;
    margin: 0;
}

#wpadminbar {
    position: fixed;
}


/*------------------------------------*\
    COMMON
\*------------------------------------*/

#full-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: table;
}

.inner-title {
    width: 100%;
    font-size: 34px;
    height: auto;
    letter-spacing: 1px;
    margin-bottom: 55px;
    text-align: center;
}

.inner-title::after {
    display: block;
    content: ' ';
    background-image: url(img/inner.png);
    background-repeat: no-repeat;
    margin: auto;
    height: 8px;
    width: 264px;
    margin-top: 20px;
}

.inner-title-single {
    margin-bottom: 50px;
    font-size: 25px;
    letter-spacing: 1px;
    text-align: left;
    width: 100%;
}

.inner-title-single::after {
    bottom: -14px;
    content: "";
    height: 2px;
    left: 2px;
    position: relative;
    width: 80px;
    background-color: #202020;
    display: block;
}

.underline-hover {
    position: relative;
}

.underline-hover::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    height: 2px;
    background-color: #202020;
    width: 0;
    -webkit-transition: width .20s;
    transition: width .20s;
}

.underline-hover:hover::after {
    width: 100%;
}

.no-lateral-margin,
.row {
    margin-left: 0;
    margin-right: 0;
}

.no-lateral-padding {
    padding-left: 0;
    padding-right: 0;
}

.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.loading {
    background-image: url('img/loading-120.svg');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 120px;
}


/*------------------------------------*\
    HEADER
\*------------------------------------*/

header.header {
    width: 100%;
}

header #logo,
header .logo-hidden-container img {
    max-width: 90px;
}

header .logo-hidden-container {
    margin-bottom: 35px;
    display: none;
}

header .content {
    max-width: 1500px;
    width: 100%;
}

header #header-menu {
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
}

header #header-menu .menu-element {
    float: left;
    margin-left: 35px;
    font-size: 19px;
    font-family: "Lato";
    position: relative;
    letter-spacing: 1px;
}

header #header-menu .menu-element:last-child {
    margin-right: 35px;
}

header #categories select {
    font-family: "Lato";
}

header #categories select:hover {
    cursor: pointer;
}

header #categories select option {
    font-size: 16px;
}

header #categories select#cat {
    border: none;
    height: auto;
    width: auto;
    padding: 0;
    margin: 0;
    background-color: transparent;
}

header #categories form {
    margin: 0;
    padding: 0;
    height: 100%;
    width: auto;
}

header #categories select#width_tmp_select {
    display: none;
}


/*------------------------------------*\
    HOMEPAGE
\*------------------------------------*/

main.home {
    margin-top: 90px;
    padding-bottom: 58px;/* Footer height */
    margin-bottom: 60px;
}

main .current-category {
    padding-bottom: 35px;
    display: inline-block;
}

main .current-category h3 {
    font-size: 26px;
}

main .current-category h1, h3 {
    margin: 0;
}

main .post-grid,
main .current-category {
    max-width: 1300px;
}

main .post-grid {
    width: 100% !important;
    margin: auto;
    display: none;
}

main .post-grid .grid-element {
    padding: 10px;
}

main .post-grid .grid-element .image {
    max-width: 100%;
    display: block;
    position: relative;
}

main .post-grid .grid-element .title {
    height: 100%;
    width: 100%;
    opacity: 0;
    text-align: center;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    -moz-transition: -moz-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    background-color: #000;
    color: #fff;
    word-break: break-all;
}

main .post-grid .grid-element .title a:hover {/* temp */
    color: #fff;
}

main .post-grid .grid-element .title a.underline-hover::after {/* temp */
    background-color: #fff;

}

main .post-grid .grid-element .title span {
   margin: 0;
   font-size: 23px;
}

main .post-grid .grid-element:hover .title {
	opacity: 1;
}

/* Load more button */
main .elm-wrapper {
    margin-top: 40px;
    margin-bottom: 0;
}

main .elm-button {
    display: none;
    background-color: transparent !important;
    border-radius: 20px;
    border-color: rgb(114, 114, 114);
    color: rgb(114, 114, 114);
}

main .elm-button:hover {
    border-color: #000;
    color: #000;
}


/*------------------------------------*\
    FOOTER
\*------------------------------------*/

footer.footer {
    width: 100%;
    height: 58px;
    position: absolute;
    bottom: 0;
    left: 0;
}

#copyright .container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#copyright .info {
    font-size: 13px;
    padding: 20px;
    line-height: 18px;
    color: rgb(114, 114, 114);
    text-align: center;
}

#copyright span {
    color: #000;
}


/*------------------------------------*\
    PAGE GENERAL
\*------------------------------------*/

#page {
    padding-top: 70px;
    padding-bottom: 100px;
}

#page .entry-text {
    font-size: 15px;
}

.page-title {
    height: 84px;
    line-height: 84px;
}

.page-title .container,
.page-title .title {
    height: 100%;
}

.page-title .title {
    font-size: 35px;
    letter-spacing: 1px;
    font-family: "Teko";
}


/*------------------------------------*\
    ABOUT PAGE
\*------------------------------------*/

.page-id-31 #page {
    max-width: 650px;
}


/*------------------------------------*\
    CONTACT PAGE
\*------------------------------------*/

#contact-page {
    padding-top: 70px;
    padding-bottom: 40px;
}

#contact-page .email {
    text-align: center;
    font-size: 25px;
    letter-spacing: 1px;
    padding-top: 10px;
    margin-bottom: 50px;
}

#contact-page .email i {
    margin-right: 5px;
}

#contact-page .contact-title {
    text-align: center;
    margin-bottom: 40px;
}

#contact-page .contact-title h3 {
    font-size: 30px;
}

/* wpcf7 */
#contact-page .wpcf7-form {
    margin-bottom: 40px;
}

#contact-page .wpcf7 {
    max-width: 800px;
    margin: 0 auto 0 auto;
}

#contact-page .wpcf7 label {
    font-size: 16px;
    font-weight: normal;
}

#contact-page .wpcf7 label, 
#contact-page .wpcf7 span, 
#contact-page .wpcf7 input,
#contact-page .wpcf7 textarea {
    width: 100%;
    max-width: 100%;
}

#contact-page .wpcf7 input {
    margin-top: 5px;
    margin-bottom: 5px;
}

#contact-page .wpcf7 input[type="submit"] {
    max-width: 120px;
    height: 35px;
    line-height: 35px;
    display: block;
    margin: auto;
    background-color: transparent !important;
    border-radius: 20px;
    border-color: rgb(114, 114, 114);
    color: rgb(114, 114, 114);
    text-transform: uppercase;
    font-size: 16px;
    font-weight: lighter;
}

#contact-page .wpcf7 input[type="submit"]:hover {
    border-color: #000;
    color: #000;
}

#contact-page .wpcf7 textarea {
    min-width: 100%;
    min-height: 100px;
}

#contact-page .wpcf7 .wpcf7-response-output {
    padding: 5px;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 15px;
}

#contact-page .wpcf7 .ajax-loader {
    display: block;
    margin: 8px auto 0 auto !important;
    background-repeat: no-repeat;
    background-position: center;
}


/*------------------------------------*\
    POST
\*------------------------------------*/

#single {
    padding-top: 60px;
    padding-bottom: 100px;
    padding-left: 10px;
    padding-right: 10px;
    margin: auto;
}

#single .content {
    text-align: center;
    display: inline-block;
}

#single .content .image-gallery {
    display: inline-block;
}

#single,
#single .content,
#single .content .image-gallery {
    max-width: 650px;
}

#single .slick-slider .slick-slide img {
    width: calc(100% - 20px);
}

#single .slick-slider .slick-dots {
    position: relative;
    bottom: -15px;
}

#single .slick-slider .slick-dots li {
    width: 90px;
    height: auto;
    list-style: none;
}

#single .slick-slider .slick-dots img {
    opacity: 0.5;
}

#single .slick-slider .slick-dots img:hover {
    opacity: 1;
    -webkit-transition: opacity .15s ease-in-out;
    -moz-transition: opacity .15s ease-in-out;
    -ms-transition: opacity .15s ease-in-out;
    -o-transition: opacity .15s ease-in-out;
    transition: opacity .15s ease-in-out;
}

#single .slick-slider .slick-dots .slick-active img {
    opacity: 1;
}

#single .entry-content {
    margin-top: 60px;
    text-align: left;
}

#single .entry-content .entry-text {
    font-size: 20px;
    font-weight: lighter;
    word-break: break-word;
}

#single .entry-content .categories {
    margin-bottom: 10px;
}

#single .navigation {
    padding-top: 20px;
}

#single .navigation .underline-hover {
    width: auto;
    display: inline-block;
    font-size: 16px;
}