/*   
Theme Name: Adam Miramon
Description: This is an exclusive, fully SEO optimized Wordpress theme developed by 42Works for Adam Miramon's website.
website.
Author: 42Works
Author URI: http://42works.net
*/

/**************************************/
/*************FONTS********************/
/**************************************/
@font-face {
    font-family: 'SofiaProLight';
    src: url('fonts/SofiaProLight.eot');
    src: local('☺'), 
        url('fonts/SofiaProLight.woff') format('woff'), 
        url('fonts/SofiaProLight.ttf') format('truetype'), 
        url('fonts/SofiaProLight.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Malina-Regular';
    src: url('fonts/Malina-Regular.eot');
    src: local('☺'), 
        url('fonts/Malina-Regular.woff') format('woff'), 
        url('fonts/Malina-Regular.ttf') format('truetype'), 
        url('fonts/Malina-Regular.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'calaw01-boldregular';
    src: url('fonts/Cala-W01-Bold.ttf') format('ttf'),
        url('fonts/cala_w01_bold.woff2') format('woff2'),
        url('fonts/cala_w01_bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

* {
    margin:0;
    padding:0;
}
body, p {
    font-family: "CalaW01-Light";
    font-size: 16px;
}
a, .blue, a:hover, a:focus {
    color: #006284;
    outline: 0 !important;
}
a:focus{
    text-decoration: none;
}
.blue-bg {
    color: #fff;
    background: #006284 !important
}
.blue-bg a, .blue-bg a:hover, .blue-bg a:focus {
    color: #fff;
}
.primary-blue {
    color: #00a79d;
}
.primary-blue-bg {
    color: #fff;
    background: #00a79d !important
}
.secondary-blue {
    color: #d8eeec;
}
.secondary-blue-bg {
    color: #006284;
    background: #d8eeec !important
}
input[type="submit"] {
}
.strong {
    font-weight:bold;
}
.cursive {
    font-style: italic
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}
.left {
    text-align: left
}
.justify {
    text-align: justify;
}
.underline {
    text-decoration: underline;
}
.uppercase {
    text-transform: uppercase;
}
.fullwidth {
    float:left;
    width:100%;
}
.halfwidth {
    float:left;
    width:50%;
}
.first {
    margin-left: 0 !important;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.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: inline-block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    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: 18px;
    margin: 0;
    padding: 0 4px 5px;
}
img, iframe {
    max-width: 100%;
    border: 0 none !important;
}
.padd-0 {
    padding: 0 !important;
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
.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;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}


/**************************************/
/*************Common*******************/
/**************************************/

h1, .h1 {
    font-size: 34px !important;
}
h2 , .h2{
    font-size: 30px !important;
}
.btn {
    border-radius: 0 !important;
    border-image: url("img/btn-border.png") 30 round;
    -o-border-image: url("img/btn-border.png") 30 round;
    -webkit-border-image: url("img/btn-border.png") 30 round;
    font-family: "CalaW01-Light";
    font-size: 16px;
    color: #fff;
}
.btn {
}
b, strong {
    font-weight: bold;
    color: #006284;
}
/**************************************/
/*************Header*******************/
/**************************************/
#header-main .logo img {
    max-width: 283px;
}
.logo {
    margin: 0;
}
div#header-main {
    padding: 10px 0;
}
#header-main #header-main-left {
    margin:0;
}
#header-main-right {
    margin:8px 0 0;
}
#header-social {
    margin-bottom: 15px;
}
#header-mailing {
    position: relative;
}
#header-social a {
    -webkit-transition: background-color 300ms linear, color 100ms linear;
    -moz-transition: background-color 300ms linear, color 100ms linear;
    -o-transition: background-color 300ms linear, color 100ms linear;
    -ms-transition: background-color 300ms linear, color 100ms linear;
    transition: background-color 300ms linear, color 100ms linear;
    background-color: #d8eeec;
    border-radius: 50%;
    height: 36px;
    display: inline-block;
    width: 36px;
    text-align: center;
    font-size: 18px;
    line-height: 36px;
    margin-left: 18px;
}
#header-social a:hover, 
#header-social a:focus {
    background-color: #00a79d;
    color: #fff;
}
#header-desc {
    color: #006284;
    font-family: "CalaW01-Light";
    font-weight: bold;
    padding: 18px 0px 20px;
    text-align: center;
    text-shadow: 0px 1px 0px #006284;
    font-size: 24px;
    margin-bottom: 40px;
}
.navbar .navbar-nav {
    display: inline-block;
    float: none;
}
nav.navbar {
    border: 0;
    border-radius: 0;
}
.navbar .navbar-collapse {
    text-align: center;
}
.navbar-nav > li {
    margin: 0px 10px;
    background-image: url("img/navigation-box.png");
    background-repeat: no-repeat;
    display: inline;
    background-size: 100% 100%;
    padding: 2px 3px 3px 2px;
}
.navbar-nav > li.current-menu-item,
.navbar-nav > li.current-menu-parent{
    background-image: none;
}
.navbar-nav > li > a {
    color: #fff;
    background-color: #006284;
    font-family: "SofiaProLight";
    text-transform: uppercase;
    line-height: 1;
    font-size: 15px;
    font-weight:bold;
    padding:10px 15px;
}
.navbar-nav > li.current-menu-item a,
.navbar-nav > li.current-menu-parent a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus{
    background-color: #00a79d;
    outline: 0;
}
#header-mailing > ul {
    margin: 0;
}
#header-mailing li {
    display: inline-block;
    list-style: outside none none;
    padding: 2px;
    background-size: 100% 100%;
    background-image: url("img/join-news-letter.png");
    background-position: right bottom;
}
#header-mailing li a{
    font-size: 14px;
    font-weight: bold;
    padding:5px 7px;
}
.navbar-nav > li ul.sub-menu {
    display: none;
    font-size: 15px;
    left: -85px;
    list-style-type: none;
    padding-top: 10px;
    position: absolute;
    top: 35px;
    width: 280px;
    z-index: 999;
}
.navbar-nav > li:hover ul.sub-menu {
    display: block;
}
.navbar-nav > li ul.sub-menu li {
    margin: 3px 0px;
    background-image: url(img/navigation-box.png);
    background-repeat: no-repeat;
    display: block;
    background-size: 100% 100%;
    padding: 2px 3px 3px 2px;
}
.navbar-nav > li ul.sub-menu a {
    background-color: #006284;
    color: #fff;
    display: block;
    padding: 5px 0;
}
.navbar-nav > li ul.sub-menu a:hover,
.navbar-nav > li ul.sub-menu a:focus {
    background-color: #00a79d;
    text-decoration: none;
}
.mailchimpForm-wrap {
    float: left;
    width: 500px;
    position: absolute;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: none;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: 0.8s;
    -webkit-transition: 0.8s;
    -moz-transition: 0.8s;
    -o-transition: 0.8s;
    bottom: -88px;
    border: 5px solid rgba(0,0,0,0.2);
}
.mailchimpForm-wrap h4 {
    color: #00a79d;
    font-weight: 600;
    margin-top: 0;
    text-align: center;
}
.mailchimpFormOpen {
    visibility: visible;
    opacity: 1;
}
.mailchimpForm-wrap span.wpcf7-form-control-wrap {
    display: inline-block;
    width: 38%;
}
.mailchimpForm-wrap span.wpcf7-form-control-wrap + span.wpcf7-form-control-wrap {
    margin-left: 2%;
}
.mailchimpForm-wrap input {
    width: 100%;
    height: 35px;
    border: 1px solid #DDDDDD;
    outline: none;
    font-size: 12px;
    padding: 5px;
}
.mailchimpForm-wrap input.wpcf7-form-control.wpcf7-submit {
    width: 20%;
    margin-left: 2%;
    font-family: "CalaW01-Light";
    background: #00A79D;
    color: #fff;
    border: none;
}

.mailchimpForm-wrap .wpcf7{
    margin: 0 !important;
}
.mailchimpForm-wrap p{
    margin: 0;
}
.mailchimpForm-wrap .ajax-loader{
    position: absolute;
    bottom: 0;
    right: 0;
}
.mailchimpForm-wrap span.wpcf7-not-valid-tip {
    /*    position: absolute;
        right: 0;
        top: -20px;
        background: #ff0000;
        color: #fff;
        padding: 2px;*/
    display: none;
}
.wpcf7-form-control.wpcf7-not-valid {
    border: 1px solid #ff0000;
}
.footer-mailchimpForm-wrap {
    top: -90px !important;
    bottom: auto;
}
/**************************************/
/*************Footer*******************/
/**************************************/
#footer-main {
    padding: 40px 0 38px;
}

#footer-center {
    font-family: "CalaW01-Light";
    font-size: 20px;
    padding: 15px 0;
}
#footer-right {
    margin: 14px 0;
}
#footer-social {
    margin-bottom: 15px;
}
#footer-social a {
    color: #fff;
    -webkit-transition: background-color 300ms linear, color 100ms linear;
    -moz-transition: background-color 300ms linear, color 100ms linear;
    -o-transition: background-color 300ms linear, color 100ms linear;
    -ms-transition: background-color 300ms linear, color 100ms linear;
    transition: background-color 300ms linear, color 100ms linear;
    background-color: #006284;
    border-radius: 50%;
    height: 36px;
    display: inline-block;
    width: 36px;
    text-align: center;
    font-size: 18px;
    line-height: 36px;
    margin-left: 18px;
}
#footer-social a:hover, 
#footer-social a:focus {
    background-color: #00a79d;
    color: #fff;
}
.footer-nav {
    display: inline-block;
    float: none;
}
#menu-footer-navigation {
    text-align: center;
    margin-bottom: 0;
}
#menu-footer-navigation li {
    float: left;
    font-family: "SofiaProLight";
    font-size: 23px;
    font-weight: bold;
    line-height: 1;
    list-style: outside none none;
    margin-bottom: -5px;
    padding: 20px 48px;
    text-transform: uppercase;
}
#menu-footer-navigation li a:hover,
#menu-footer-navigation li a:focus {
    text-decoration: none;
    color: #d8eeec;
}
#footer-bottom {
    padding: 15px 0;
    font-size: 14px;
}


/**************************************/
/****************Home******************/
/**************************************/
.row-home-service .home-service-col {
    margin-top: -50px;
    margin-bottom: 40px;
}
.row-home-service .home-service-col h3 {
    color: #fff;
    font-family: "CalaW01-Light";
    font-size: 16px;
    margin: 15px 0 14px;
    text-align: center;
    font-weight:bold;
}
.row-home-service .home-service-col .image-wrap {
    border: 3px solid #006284; 
    padding: 7px;
    border-top: 0;
    position: relative;
}
.home-service-col .image-wrap > div {
    min-height: 205px;
    border: 1px solid #006182;
}
.learn-more-btn {
    background: url("img/learn-more.png") no-repeat;
    background-size: 100% auto;
    bottom: -17px;
    color: #fff;
    font-family: "SofiaProLight";
    font-size: 13px;
    font-weight: bold;
    height: 60px;
    line-height: 1.2;
    padding-top: 17px;
    position: absolute;
    right: 13px;
    text-align: center;
    text-transform: uppercase;
    width: 60px;
}
.learn-more-btn:hover,
.learn-more-btn:focus {
    text-decoration: none;
    color: #d8eeec;
}
.home-buttons {
    display: inline-block;
    font-family: "Malina-Regular";
    margin-top: 25px;
    width: 100%;
    text-align: left;
    padding: 0px 15px;
    line-height: 56px;
    height: 74px;
    background: url("img/home-buttons.png") no-repeat;
    background-size: 100% 100%;
    font-size: 35px;
    max-width: 296px;
}
.home-section.fullwidth, #main-page-content 
{
    background: #ffffff;
}

#home-featured-content {
    font-size: 20px;
    font-family: "CalaW01-Light";
    text-align: center;
    margin-bottom: 30px;
}
#home-featured-content #quote {

    background: rgba(37,173,164,1);
    background: -moz-linear-gradient(left, rgba(37,173,164,1) 0%, rgba(37,173,164,1) 49%, rgba(118,203,196,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(37,173,164,1)), color-stop(49%, rgba(37,173,164,1)), color-stop(100%, rgba(118,203,196,1)));
    background: -webkit-linear-gradient(left, rgba(37,173,164,1) 0%, rgba(37,173,164,1) 49%, rgba(118,203,196,1) 100%);
    background: -o-linear-gradient(left, rgba(37,173,164,1) 0%, rgba(37,173,164,1) 49%, rgba(118,203,196,1) 100%);
    background: -ms-linear-gradient(left, rgba(37,173,164,1) 0%, rgba(37,173,164,1) 49%, rgba(118,203,196,1) 100%);
    background: linear-gradient(to right, rgba(37,173,164,1) 0%, rgba(37,173,164,1) 49%, rgba(118,203,196,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#25ada4', endColorstr='#76cbc4', GradientType=1 );
    color: rgb(255, 255, 255);
    display: inline-block;
    float: none;
    font-family: "SofiaProLight";
    font-style: italic;
    font-weight: bold;
    margin: 16px auto 35px;
    padding: 8px 34px 6px;
    width: auto;
    position: relative;
}
#home-featured-content #quote:before, #home-featured-content #quote:after{
    display: inline-block;
    font-family: FontAwesome;
    font-size: 14px;
    line-height: normal;
    position: absolute;
    top: 7px;
}
#home-featured-content #quote:before{
    content:'\f10d';
    left: 12px;  
}
#home-featured-content #quote:after{
    content:'\f10e';
    right: 10px;
}
#home-video iframe {
    border: 2px solid #006281 !important;
}
div#home-links a {
    color: transparent !important;
    text-shadow: none;
    padding: 5px 15px;
}
/**************************************/
/**************PAGES*******************/
/**************************************/
#page-content {
    margin: 40px 0;
}
#page-content-main .page-title {
    font-size: 34px;
    font-variant: small-caps;
    font-weight: 500;
    margin: -40px 0 30px;
    padding: 10px 30px;
    width: 70%;
}
#page-content-main img {
    border: 4px solid #006284 !important;
    padding: 3px;
    background-color: #d8eeec;
}
#page-content-main ul {
    margin-left: 20px;
}
/**************************************/
/***********Contact Form***************/
/**************************************/
.wpcf7 {
    float: left;
    margin-bottom: 20px !important;
    width: 100%;
}
.contact-address .col-lg-7 {
    padding: 62px 15px;
}
.wpcf7 .form-field input {
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
    float: left;
    font-size: 16px;
    height: 40px;
    margin-bottom: 15px;
    padding: 4px 10px;
    width: 100%;
}
.wpcf7 .form-field textarea {
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
    font-size: 17px;
    height: 200px;
    margin-bottom: 15px;
    padding: 4px 10px;
    resize: none;
    width: 100%;
}
.wpcf7-form-control-wrap {
    float: left;
    width: 100%;
}
span.wpcf7-not-valid-tip {
    font-size: 12px !important;
    font-weight: 400;
    position: absolute;
    right: 5px;
    top: 10px;
}
.wpcf7-form-control.wpcf7-not-valid {
    border: 1px solid #ff0000 !important;
}
div.wpcf7-response-output {
    float: left;
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0 0 !important;
    padding: 5px !important;
    text-align: center;
    width: 100%;
}
.mailchimpForm-wrap .wpcf7-response-output{
    font-size: 11px;
    padding: 2px;
    width: 95%;
}
#page-content-main .wpcf7-submit {
    padding: 8px 40px;
    margin: 0 5px;
}
body.page-contact div#page-content {
    margin-bottom: 0;
}
.iframe-wrap iframe {
    float: left;
    width: 100%;
    height: 200px;
}
.form-field {
    padding: 0 5px;
}
/**************************************/
/***********Sidebar********************/
/**************************************/
#sidebar .menu li {
    background-color: #f2f2f2;
    font-family: "SofiaProLight";
    font-size: 20px;
    list-style: outside none none;
    margin-bottom: 2px;
    text-align: left;
}
#sidebar .menu a {
    display: inline-block;
    padding: 10px 30px;
    width:100%;
    background-image: -moz-linear-gradient(center top , #16A89E, #16A89E 50%, #F2F2F2 50%, #F2F2F2);
    background-position: center bottom;
    background-size: auto 200%;
}
#sidebar .widget {
    margin-bottom: 30px;
}
#sidebar a {
    color: #16a89e;
    text-transform: capitalize;
}
#sidebar a:hover, .sidebar a:focus {
    color: #21759b;
    text-decoration: none;
}
#sidebar .menu li a:hover{
    background-image: linear-gradient(to bottom, #16A89E, #16A89E 50%, #D8E3F6 50%, #D8E3F6);
    background-position: center top !important;
    background-size: auto 200%;
    border-color: transparent;
    box-shadow: none;
    color: #fff;
}
.blue-bg-image{
    background-image:url('img/bar-between-the-white-box.png');
    background-repeat: no-repeat;
    background-size: 100% 46%;
    padding: 2px 0;
}
#footer-nav .current-menu-item a, 
#footer-nav .navbar-nav > li > a:hover, 
#footer-nav .navbar-nav > li > a:focus {
    background-color:transparent;
}
.home-buttons:hover, .home-buttons:focus {
    text-decoration: none;
    text-shadow: 1px 1px 1px #A5ABAB;
}

/***************************************/
/***********Services********************/
/***************************************/
.service-thumb {
    height: auto;
    max-width: 450px;
    padding: 0 20px;
    position: relative;
    z-index: 555;
}
.service-thumb img {
    height: auto;
    max-width: 100%;
    border: 12px solid #d8eeec !important;
    margin-bottom: 30px;
}
#service-title-section h1 {
    display: inline-block;
    font-family: "calaw01-boldregular";
    margin-bottom: 46px;
    margin-top: 40px;
    padding: 10px 20px;
}
.service-quote {
    background: #026184 none repeat scroll 0 0;
    color: #fff;
    font-family: "calaw01-boldregular";
    font-size: 20px;
    line-height: 30px;
    padding: 15px 20px;
    position: relative;
    z-index: 111;
    min-height: 158px;
}
#services-sidebar ul {
    list-style-type: none;
}
#services-sidebar ul li {
    display: block;
    background-image: url("img/join-news-letter.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-bottom: 10px;
    margin: 0 0 15px;
    padding: 4px;
}
#services-sidebar ul li a {
    background-color: #00a79d;
    color: #fff;
    display: block;
    font-size: 19px;
    padding: 12px 0;
    font-weight: bold;
}
#services-sidebar ul li.current_page_item {
    display: none;
}
#services-sidebar li a:hover, .services-sidebar li a:focus {
    text-decoration: none;
    text-shadow: 1px 1px 1px #757B7B;
}

/*___________________________Blog Page_________________________*/

.blog-single {
    border-bottom: 2px solid #F2F2F2;
}
.blog-single h2 {
    color: #00A79D;
}
.blog-single.fullwidth h6:first-letter {
    text-transform: capitalize;
}
.blog-single.fullwidth h6 {
    color: rgb(118, 115, 115);
    margin-top: -5px;
    font-style: italic;
}
.btn-rm {
    background: #006284;
    margin: 10px 0;
}
.btn-rm:hover,.btn-rm:focus,.btn-rm:active {
    color: #fff;
}
.wp-pagenavi a, .wp-pagenavi span {
    border: none !important;
    padding: 3px 10px !important;
    background: #00A79D;
    color: #fff;
}
.wp-pagenavi {
    margin: 10px 0 !important;
    float: left;
    width: 100%;
}
.wp-pagenavi span.current {
    font-weight: bold;
    background: #006284;
    border: none;
}
.wp-pagenavi .pages {
    display: none;
}
/*___________________________Faqs_________________________________*/

.panel-group ul {
    padding: 15px;
}
.panel-heading a {
    display: block;
    padding-right: 15px;
}
.panel-group .panel .panel-heading {
    background: #D8EEEC;
    color: #006284;
    border-radius: 0;
    position: relative;
}
.panel-group .panel .panel-heading a,.panel-group .panel .panel-heading a:hover{
    text-decoration: none;
    color: #006284;
}
.panel-default > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: transparent;
}
a.accordion-toggle::after {
    content: "\f105";
    position: absolute;
    font-weight: 700;
    right: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 20px;
    font-family: FontAwesome;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);;
    -o-transform:rotate(90deg);
    transition: 0.4s;
    -moz-transition: 0.4s;
    -o-transition: 0.4s;
    -webkit-transition: 0.4s;
}
a.accordion-toggle.collapsed::after {
    transform: rotate(0deg) !important;
    -webkit-transform: rotate(0deg) !important;
    -moz-transform: rotate(0deg) !important;
    -o-transform:rotate(0deg) !important;
}
.panel-group .panel:first-child a.accordion-toggle::after {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform:rotate(90deg);
}

/*_______________________________Resources__________________________*/

body.page-resources #page-content-main a {
    margin-bottom: 25px;
    display: inline-block;
    width: 100%;
    font-size: 16px;
}
body.page-resources #page-content-main p {
    margin-bottom: 0;
}
body.page-resources #page-content-main span {
    color: rgb(118, 115, 115);
    font-size: 14px;
    font-style: italic;
    vertical-align: super;
}
body.page-resources #page-content-main b {
    color: #00A79D;
}
