/*
 Theme Name:   Optic Child
 Theme URI:    
 Description:  Optic Child Theme
 Author:       Paul Lyons
 Author URI:   http://designweb.co.uk
 Template:     OpTIC
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         
 Text Domain:  optic-child
*/

/* Media Queries */
@import url('1.css') (min-width: 1400px);
@import url('2.css') (min-width: 1200px) and (max-width: 1399px);
@import url('3.css') (min-width: 990px) and (max-width: 1199px);
@import url('4.css') (min-width: 790px) and (max-width: 989px);
@import url('5.css') (min-width: 480px) and (max-width: 789px);
@import url('6.css') (max-width: 479px);

/* standard styles for all devices */
.mza {
    margin: 0 auto;
}

.inner960 {
    max-width: 960px;
}

.inner720 {
    max-width: 720px;
}

.relative {
    position: relative;
}

.clear {
    clear: both;
}

.textcenter {
    text-align: center;
}

.font1 {
    font-family: 'Source Sans Pro', sans-serif;
}

.font2 {
    font-family: 'Georgia', serif;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background: #ccc;
    box-sizing: content-box !important;
}

.page {
    background: #fff
}

.single {
    background: #fff
}

#menu {
    margin: 0 !important;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
blockquote {
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.5em !important;
}

p {
    padding: 0;
    margin: 15px 0;
    font-size: 20px;
}

li {
    font-size: 20px;
}

ul,
ol {
    padding: 0 0 0 30px;
    margin: 15px 0;
}

.children {
    margin: 0;
}

h1 {
    padding: 0;
    margin: 15px 0;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: 'Georgia', serif;
    clear: none !Important;
}

.block-a h1 {
    font-size: 40px;
    font-weight: 100;
    color: #434343;
    font-family: 'Georgia', serif;
    text-align: center;
    text-transform: lowercase;
}

.pages .wrapper h1 {
    margin: 30px 0 15px;
    font-size: 40px;
    font-weight: 100;
    font-family: 'Georgia', serif;
    font-weight: 900;
}

.pages .wrapper h1:after {
    display: block;
    content: " ";
    height: 20px;
    margin: 15px 0;
    width: 50%;
    background: #16ABBD;
}

.pages .wrapper h2 {
    margin: 30px 0 15px;
    font-size: 30px;
    font-weight: 100;
}

.pages .wrapper h2:after {
    display: block;
    content: " ";
    height: 20px;
    margin: 15px 0;
    width: 50%;
    background: #16ABBD;
}

.pages .wrapper h3 {
    margin: 30px 0 15px;
    font-size: 24px;
    font-weight: 100;
}

.pages .wrapper h3:after {
    display: block;
    content: " ";
    height: 20px;
    margin: 15px 0;
    width: 50%;
    background: #D42074;
}

.pages .wrapper h4 {
    margin: 30px 0 15px;
    font-size: 24px;
    font-weight: 100;
}

.pages .wrapper h4:after {
    display: block;
    content: " ";
    height: 10px;
    margin: 15px 0;
    width: 50%;
    background: #FCC300;
}

.pages .wrapper h5 {
    margin: 30px 0 15px;
    font-size: 24px;
    font-weight: 100;
}

.pages .wrapper h5:after {
    display: block;
    content: " ";
    height: 1px;
    margin: 15px 0;
    width: 50%;
    background: #ccc;
}

.pages .wrapper h6 {
    margin: 30px 0 15px;
    font-size: 24px;
    font-weight: 100;
}

.pages .wrapper blockquote {
    background: #f9f9f9;
    border-left: 10px solid #BFEAF0;
    margin: 15px 0;
    padding: 15px 20px;
    quotes: "\201C" "\201D" "\2018" "\2019";
}

.pages .wrapper blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

.pages .wrapper blockquote p {
    display: inline;
}

.center {
    text-align: center;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

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

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* global styles
-------------------------------------------------------------- */
#wrapper {
    min-height: 100px;
}

.widget ul li a:after {
    display: none !important;
}

.widget ul li {
    margin-bottom: 10px;
    line-height: 20px !important;
}

p.service-provider-sidebar {
    color: #fff;
    padding: 0 20px;
    margin: 15px 0;
}

p.service-provider-sidebar a {
    color: #fff !important;
    font-weight: bold;
}

/* downloads */
.download {
    padding: 15px;
    background: #D8E9BD;
    overflow: hidden;
    border-left: 10px solid #81B539;
    margin: 0 0 15px;
}

p.download-title {
    margin: 0 0 15px;
    font-weight: bold;
}

div.download-info p {
    font-size: 16px;
}

p.download-link {
    margin: 15px 0 0 0;
}

p.download-link a {
    color: #fff;
    background: #81B539;
    display: block;
    padding: 10px 20px;
    min-width: 20%;
    text-decoration: none;
    text-align: center;
    float: right;
}

p.download-link a:hover {
    background: #D80F81;
}

.block-e {
    padding: 25px 0;
}

.child-pages ul>li {
    font-size: 18px;
}

.site-footer p>a {
    color: #404040 !important;
    text-decoration: none !important;
}

.site-footer p>a:hover {
    color: #ccc !important;
}


.owl-theme .owl-nav.disabled+.owl-dots {
    margin-top: 0;
    position: absolute;
    width: 100%;
    bottom: 25px;
}

.owl-theme .owl-dots .owl-dot {
    box-shadow: none;
}

.owl-theme .owl-dots .owl-dot span {
    border-radius: 0;
    margin: 5px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: #D80F81;
}

.home-slider {
    margin-top: 0px;
}

@media (min-width: 783px){
    .home-slider {
        margin-top: -32px;
    }
}

.home-slider .home-slide {
    min-height: 500px;
    padding: 50px 0 120px 0;
    background-size: cover;
    display: flex;
    align-items: flex-end;
}

.home-slider .home-slide:before {
    position: absolute;
    display: block;
    content: "";
    z-index: 1;
    background: #000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.75;
}

.home-slider .home-slide .slide-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
}

.home-slider .home-slide .slide-content h2 {
    color: #fff;
    font-size: 54px;
    line-height: 62px !important;
    font-weight: 400;
}

.home-slider .home-slide .slide-content p {
    color: #fff;
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 25px;
}

@media(max-width:767px){
	.home-slider .home-slide .slide-content h2 {
		font-size: 40px;
    		line-height: 50px !important;
	}
	.home-slider .home-slide .slide-content p {
		font-size: 17px;
    		line-height: 28px;
	}
}

.home-slider .home-slide .slide-content .read-article {
    background-color: #D80F81;
    color: #fff;
    text-decoration: none;
    padding: 7px 25px 12px;
    font-size: 18px;
}

.home-slider .home-slide .slide-content .read-article:hover {
    background-color: #00AFBE;
}

.home-services{
    margin: 0 0 60px !important;
}
.home-services .home-services-slider{
    margin-bottom: 10px;
}

.home-services li {
    width: 100%;
}

@media(min-width: 1400px) {
    .home-services li {
        float: left;
        width: 30% !important;
        margin: 0 1.5% 20px;
    }
}

@media((min-width: 790px) and (max-width: 989px)){
    .home-services li {
        width:47% !important; 
    }
}

.home-services p {
    text-align: left;
    padding-left: 0;
    margin-bottom: 10px;
    color: #000;
}

.home-services p.service-excerpt{
    font-size: 16px;
}

.home-services .home-service-more {
    color: #00AFBE;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.home-services .home-service-more:after {
    content: "";
    display: inline-block;
    width: 50px;
    height: 2px;
    background-color: #00AFBE;
    margin: 0 0 3px 10px;
}

.home-services .home-service-more:hover {
    color: #D80F81;
}
.home-services .home-service-more:hover:after {
    background-color: #D80F81;
}