/*
 Theme Name:   Espresso Child Crouching Tiger
 Theme URI:    http://crouchingtiger.net;
 Description:  Espress Child Theme
 Author:       Alessandro Bassi
 Author URI:   apbassi89@gmail.com
 Template:     espresso
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         espresso
 Text Domain:  espresso-child
*/

/**
 * Global Changes
 */
body {
    background: #cadbe9 !important;
}
hr {
    margin: 1em 0 !important;
    height: 0 !important;
    width: 100% !important;
    border: 0 !important;
    border-top: 1px solid #AAA !important;
    border-bottom: 1px solid #FFF !important;
    outline: none !important;

}
.page-title {
    display: none !important;
}
#page-post {
    margin: 50px auto 50px !important;
}
h2 {
    font-family: 'Arial', sans-serif !important;
}

/**
 * Misc body stuff
 */
.page-id-27 #page-post article.page-content  blockquote {
    margin: 10px 0px 40px 0px !important;
    padding: 0px !important;
}
.page-id-27 #page-post article.page-content  blockquote p {
    color: #000 !important;
    font-size: 18px !important;
}
p.indent {
    margin-left: 100px !important;
}
.page-id-27 p.indent {
    color: #777;
}
.page-id-27 hr {
    margin: 50px 0 !important;
}


.buy-button-sidebar div {
    font-size: 26px;
    font-family: arial;
    background: none;
    padding: 20px 12px;
    border: #CE1F1C 8px solid;
    text-align: center;
    color: #CE1F1C;
    font-weight: bold;
    line-height: 30px;
}

.buy-button-sidebar,

.buy-button-sidebar:hover{
    text-decoration: none !important;
    color: #CE1F1C;
    border
}

.blue-sidebar div {
    font-size: 26px;
    font-family: arial;
    background: none;
    padding: 20px 12px;
    border: #0033FF 8px solid;
    text-align: center;
    color: #0033FF; font-weight: bold;
    line-height: 30px;
}

.blue-sidebar,

.blue-sidebar:hover{
    text-decoration: none !important;
    color: #0033FF;
    border
}



/**
 * Newsletter
 */
.constant-contact-form {
    background: #fff;
    padding: 10px;
    margin-bottom: 15px;
    float: left;
    font-family: 'Arial', sans-serif !important;
}
.constant-contact-form .msg {
    background: #CE1F1C;
    color: white;
    padding-left: 5px;
    float: left;
    width: 100%;
    font-family: 'Arial', sans-serif !important;
    margin-bottom: 8px;
}
.constant-contact-form .email-elements {
    padding:3px;
    color: white;
    float: left;
    font-size: 12px;
    font-family: 'Arial', sans-serif !important;
    height: 22px !important;
    line-height: 14px;
}


.constant-contact-form .email-elements.email-box {
    width: 65%;
    margin-right: 5%;
    background: #C9DAEA;
    color: #000;
    border: none;
}


.constant-contact-form .email-elements.email-submit {
    width: 30%;
}

/**
 * News page
 */
body.page-id-30 h5{
    font-size: 20px !important;
    margin: 10px 0px 5px 0px !important;
}

/**
 * 3 Columns
 */
.cols3 {
    width: 100%;
    position: relative;
}
.cols3 > div {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0px 1%;
    float: left;
}
.homepage.cols3 .col1 {
    width: 23%;
}
.homepage.cols3 .col2 {
    width: 48%;
}
.homepage.cols3 .col3 {
    width: 22%;
}
.right-small.cols3 > div.col1 {
    width: 71%;
}
.right-small.cols3 > div.col2 {
    width: 25%;
}
@media only screen and (min-width: 530px) and (max-width: 900px) {
    .homepage.cols3 > div {
        width: 100%;
        margin: 5px 0px;
        padding: 0px 10px;
    }
    .right-small.cols3 > div.col1 {
        width: 100%;
        padding: 0px 10px;
        margin: 5px 0px;
    }
}
@media only screen and (max-width: 520px) {
    .homepage.cols3 > div {
        width: 100% !important;
        margin: 5px 0px;
        padding: 0px 10px;
    }
}

/**
 * 2 Columns
 */

.cols2 {
    width: 100%;
    position: relative;
}
.cols2 > div {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 48%;
    margin: 0px 1%;
    float: left;
}
.bookpage.cols2 > div.col1 {
    width: 28%;
}
.bookpage.cols2 > div.col2 {
    width: 68%;
}
.workspage.cols2 > div.col1 {
    width: 38%;
}
.workspage.cols2 > div.col2 {
    width: 58%;
}
@media only screen and (max-width: 600px) {
    .bookpage.cols2 > div.col1,
    .bookpage.cols2 > div.col2,
    .workspage.cols2 > div.col1,
    .workspage.cols2 > div.col2 {
        width: 100%;
        padding: 0px 10px;
    }
}

/**
 * Slider changes
 */
.slider-toggle {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 100;
    line-height: 0px;
    text-align: center;
}
.slider-toggle img{
    cursor: pointer;
}
#slider-wrap {
    background-color: #fff;
}
#slider-wrap .Custom-CT {
    display: block !important;
    font-size: 14px !important;
    visibility: visible !important;
    position: relative !important;
    color: #fff !important;
    padding: 20px !important;
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.66) !important;
}
#slider-wrap .Custom-CT blockquote {
    font-weight: bold !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    font-size: 15px !important;
    line-height: 22px !important;
}
#slider-wrap .Custom-CT p {
    margin-top: 10px !important;
    font-style: italic !important;
    text-align: right !important;
    z-index: 99999 !important;
    opacity: 1 !important;
    font-size: 15px !important;
    line-height: 22px !important;
}

/**
 * Header/ menu
 */
nav#main-nav.full {
    max-height: 150px;
    height: 150px;
}
nav#main-nav.full .shell > ul > li {
    height: 150px;
}
nav#main-nav.full .shell > ul > li > a {
    height: 150px;
    line-height: 150px;
    color: #055383;
    font-weight: bold;
}
nav#main-nav.full ul li a:hover,
nav#main-nav.full .current_page_item {
    background: #cadbe9 !important;
}
body nav#main-nav.full {
    background: #fff !important;
}
body header#header .shell section.location span {
    font-size: 10px;
    float: left;
    display: inline-block;
    line-height: 30px;
    margin: 7px 30px 0px 0px;
}
body header#header .shell section.location span img {
    opacity: 0.5;
    margin-bottom: -10px;
}
body header#header .shell section.location span a:hover img {
    opacity: 1;
}
body section div.mobile {
    display: none;
}

@media only screen and (max-width: 900px) {
    body section div {
        display: none;
    }
    body section div.mobile {
        display: block;
    }
}

/**
 * Footer
 */
body .bottom-spacer{
    display: none !important;
}
body #footer-widgets .overlay,
body #mobile-slider .colored-wrap {
    background: #000 !important;
    color: #AAA !important;
    font-family: Arial, sans-serif;
    font-size: 12px;
}
body footer {
    color: #444 !important;
    background-color: #ccc !important;
    height: 40px !important;
}
body footer section.left {
    padding-top: 11px !important;
    font-size: 10px !important;
}
body #footer-widgets .overlay {
    padding: 20px 0px 25px 0px;
}
body #footer-widgets .overlay article {
    margin-bottom: 0px;
}