/*   
Theme Name: KAVV
Version: 1.0
Author: Karnaukhov Andrey
Author URI: https://kavv.ru/
*/


@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&amp;display=swap');


body {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
    text-decoration: none;
    color: #005095;
    outline: 0 !important;
}
a:hover, a:focus {
    text-decoration: none;
    color: #E54023;
}
p {
    margin: 0 0 1.5em;
}
button, input, textarea, select {
    border: none;
    border-radius: 0;
    background: none;
}
h1, h2, h3, h4 {
    font-weight: bold;
    line-height: 1.3;
}
.s-title {
    font-weight: 700;
    font-size: 3.75rem;
    line-height: 1.1;
    margin: 0 0 64px;
}
.s-title2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
}
@media (min-width: 1290px) {
    .container {
        max-width: 1260px;
    }
}
@media (max-width: 1199px) {
    .s-title {
        font-size: 2.5rem;
        margin: 0 0 50px;
    }
}
@media (max-width: 767px) {
    .s-title {
        font-size: 1.8rem;
        margin: 0 0 46px;
    }
    .s-title2 {
        font-size: 1.8rem;
        margin-bottom: 1.8rem;
    }
}



/* s-box
-------------------------------------------------------------- */
.s-style {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}
.s-mt-box {
    margin-top: 85px;
}
.s-mb-box {
    margin-bottom: 85px;
}
.s-pt-box {
    padding-top: 85px;
}
.s-pb-box {
    padding-bottom: 85px;
}
@media (max-width: 1199px) {
    .s-mt-box {
        margin-top: 65px;
    }
    .s-mb-box {
        margin-bottom: 65px;
    }
    .s-pt-box {
        padding-top: 65px;
    }
    .s-pb-box {
        padding-bottom: 65px;
    }
}
@media (max-width: 767px) {
    .s-mt-box {
        margin-top: 45px;
    }
    .s-mb-box {
        margin-bottom: 45px;
    }
    .s-pt-box {
        padding-top: 45px;
    }
    .s-pb-box {
        padding-bottom: 45px;
    }
}


/* modalNew
-------------------------------------------------------------- */
.modalNew .modal-dialog {
    max-width: 460px;
}
.modalNew .modal-content {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 30px 40px;
    overflow: hidden;
}
.modalNew .modal-header {
    padding: 0;
    border: none;
}
.modalNew .modal-header .close-form {
    position: absolute;
    top: 15px;
    right: 20px;
    padding: 0;
    margin: 0;
    text-shadow: none;
    opacity: 1;
    outline: 0 !important;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.modalNew .modal-header .close-form:hover {
    opacity: .7;
}
.modalNew .modal-header .close-form img {
    width: 22px;
    height: 22px;
}
.modalNew .modal-title {
    font-weight: bold;
    font-size: 30px;
    line-height: 120%;
    letter-spacing: -0.025em;
    color: #000000;
    margin: 30px auto 0;
}
.modalNew .modal-body {
    font-size: 21px;
    line-height: 140%;
    color: #000000;
    padding: 19px 0;
}
.modalNew .modal-body p:last-child {
    margin-bottom: 0;
}
.modalNew .input_box+.input_box {
    margin-top: 15px;
}
.modalNew input[type="submit"] {
    width: 100%;
}
.modalNew .privacy-policy-wrap {
    display: inline-block;
    margin: 15px auto 0;
}
@media (max-width: 1199px){
    .modalNew .modal-title {
        font-size: 34px;
    }
}
@media (max-width: 767px) {
    .modalNew .modal-header .close-form {
        top: 10px;
        right: 15px;
    }
    .modalNew .modal-header .close-form img {
        width: 16px;
        height: 16px;
    }
    .modalNew .modal-content {
        padding: 15px 25px;
    }
    .modalNew .modal-title {
        font-size: 20px;
        margin: 30px auto 0;
    }
    .modalNew .modal-body {
        font-size: 16px;
        padding: 19px 0;
    }
}



/* Forms
--------------------------------------------- */
.button,
input[type="button"],
input[type="submit"] {
    display: inline-block;
    position: relative;
    min-width: 240px;
    height: 64px;
    line-height: 60px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.02em;
    padding: 0 35px;
    background: #dd1515;
    color: #FFFFFF !important;
    border: 1px solid #dd1515;
    border-radius: 8px;
    cursor: pointer;
    outline: 0 !important;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}
.button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    opacity: .8;
}

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,
select {
    display: inline-block;
    width: 100%;
    font-size: 16px;
    line-height: 160%;
    color: #000000;
    background: #ffffff;
    padding: 15px 20px;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    outline: 0 !important;
}
textarea {
    padding: 20px;
    height: 140px;
}
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,
select:focus {
    border-color: #afafaf;
}
.ploho select.wpcf7-not-valid,
.ploho input[type="text"].wpcf7-not-valid,
.ploho input[type="tel"].wpcf7-not-valid,
.ploho input[type="date"].wpcf7-not-valid,
.ploho input[type="search"].wpcf7-not-valid,
.ploho input[type="email"].wpcf7-not-valid,
.ploho input[type="url"].wpcf7-not-valid,
.ploho input[type="password"].wpcf7-not-valid,
.ploho input[type="number"].wpcf7-not-valid,
.ploho textarea.wpcf7-not-valid {
    border-color: #E54023;
    background-color: rgba(229, 64, 32, .5);
    color: #FFFFFF;
}

::-webkit-input-placeholder { color: #000000; font-weight: 300; }
:-moz-placeholder { color: #000000; font-weight: 300; }
::-moz-placeholder { color: #000000; font-weight: 300; }
:-ms-input-placeholder { color: #000000; font-weight: 300; }

.ploho ::-webkit-input-placeholder { color: #FFFFFF; }
.ploho :-moz-placeholder { color: #FFFFFF; }
.ploho ::-moz-placeholder { color: #FFFFFF; }
.ploho :-ms-input-placeholder { color: #FFFFFF; }

div.wpcf7 .ajax-loader,
div.wpcf7-validation-errors,
div.wpcf7-response-output,
span.wpcf7-not-valid-tip {
    display: none !important;
}

.privacy-policy-wrap {
    display: inline-block;
    max-width: 260px;
    font-size: 12px;
    line-height: 1.3;
    color: #000000;
    opacity: .7;
}
.privacy-policy-wrap a {
    display: inline-block;
    color: #000000;
    border-bottom: 1px solid #000000;
}
.privacy-policy-wrap a:hover {
    border-bottom: 1px solid transparent;
}
@media (max-width: 1199px) {
    .button,
    input[type="button"],
    input[type="submit"] {
        min-width: 218px;
    }
}
@media (max-width: 767px) {
    .button,
    input[type="button"],
    input[type="submit"] {
        width: 100%;
        padding: 0 20px;
    }
    textarea {
        height: 120px;
    }
}



/* header
-------------------------------------------------------------- */
header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 40px 0 0;
    overflow: hidden;
    z-index: 99;
    -webkit-transition: all 300ms ease;
    transition: all 300ms ease;
}
header a {
    color: #ffffff;
}
header .logo {
    margin-top: -3px;
    color: #ffffff;
}
header .logo img {
    display: block;
    height: 50px;
    margin-right: 15px;
}
header .logo .name {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    line-height: 1;
    color: #FFFFFF;
}
header .logo .slogan {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 6px;
}
header .top-right {
    display: none;
}
header .phone {
    font-weight: 800;
    font-size: 26px;
    line-height: 1;
    letter-spacing: 0.02em;
    color: #000000;
}
header .callme {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: #dd1515;
    margin-top: -3px;
}
header .callme:hover {
    color: #e06024;
}
@media (max-width: 1199px) {
    header {
        display: none;
    }
    header .logo .name {
        font-size: 24px;
    }
    header .logo .slogan {
        font-size: 10px;
        letter-spacing: .23em;
    }
    header .phone {
        font-size: 24px;
    }
}
@media (max-width: 767px) {
    header {
        padding: 15px 0;
    }
    header .logo {
        margin-top: 0;
    }
    header .logo .name {
        font-size: 14px;
    }
    header .logo .slogan {
        font-size: 8px;
        letter-spacing: 0;
    }
    header .phone {
        font-size: 18px;
    }
    header .callme {
        font-size: 10px;
    }
}


/* fixed_header
-------------------------------------------------------------- */
header.fixed_header {
    display: block;
    padding: 13px 0 10px;
    background-color: #ffffff;
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
}
header.fixed_header .logo .name {
    color: #000000;
}
header.fixed_header .logo .slogan {
    color: #000000;
}
header.fixed_header .top-right {
    display: -ms-flexbox;
    display: flex;
}
@media (max-width: 1199px) {
    header.fixed_header {
        display: block;
    }
}
@media (max-width: 767px) {
    header.fixed_header {
        padding: 13px 0;
    }
    header .logo img {
        display: none;
    }
    header.fixed_header .top-right .contacts {
        line-height: 1;
    }
}



/* s-banner
-------------------------------------------------------------- */
.s-banner {
    position: relative;
    width: 100%;
    max-width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    background-color: #0067a2;
    color: #ffffff;
    z-index: 1;
}
.s-banner:before {
    content: "";
    background: #222222;
    opacity: .75;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.s-banner .container {
    min-height: 750px;
}
.s-banner .wrap-img {
    position: absolute;
    right: -100px;
    bottom: -100px;
}
.s-banner .content {
    margin: -100px 0 0;
    padding: 0 10% 0 0;
}
.s-banner .content .title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 35px;
}
.s-banner .content .text {
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.7;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0 0 35px;
}
.s-banner .phone-box {
    margin: 0 0 75px;
}
.s-banner .phone {
    width: max-content;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: #FFFFFF;
}
.s-banner .phone:hover {
    color: #FFFFFF;
}
.s-banner .phone svg {
    display: block;
    width: 57px;
    height: 57px;
    margin-right: 25px;
}
.s-banner .button {
    text-transform: uppercase;
    min-width: 280px;
    height: 80px;
    line-height: 80px;
    font-weight: 600;
}
@media (max-width: 1490px) {
    .s-banner .wrap-img {
        max-width: 880px;
        right: 0;
        bottom: -70px;
    }
}
@media (max-width: 1289px) {
    .s-banner .content .title {
        font-size: 4rem;
        margin: 0 0 25px;
    }
}
@media (max-width: 1199px) {
    .s-banner .container {
        min-height: auto;
    }
    .s-banner .content {
        margin: 0;
        padding: 60px 0 320px 0;
        text-align: center;
    }
    .s-banner .content .title {
        font-size: 3rem;
    }
    .s-banner .phone {
        margin: auto;
    }
    .s-banner .phone svg {
        width: 47px;
        height: 47px;
        margin-right: 15px;
    }
    .s-banner .wrap-img {
        right: calc(50% - 305px);
        max-width: 650px;
    }
}
@media (max-width: 767px) {
    .s-banner .content {
        padding: 55px 0 185px 0;
    }
    .s-banner .content .title {
        font-size: 2.2rem;
    }
    .s-banner .content .text {
        line-height: 1.5;
        text-transform: none;
        margin: 0 0 25px;
    }
    .s-banner .content .text br {
        display: none;
    }
    .s-banner .phone {
        font-size: 1.5rem;
    }
    .s-banner .phone svg {
        width: 34px;
        height: 34px;
        margin-right: 10px;
    }
    .s-banner .phone-box {
        margin: 0 0 45px;
    }
    .s-banner .button {
        min-width: auto;
        width: auto;
        height: 70px;
        line-height: 70px;
        font-weight: 600;
        padding: 0 40px;
    }
    .s-banner .wrap-img {
        width: 100%;
        max-width: 300px;
        right: calc(50% - 150px);
        bottom: -40px;
    }
}


/* s-about
-------------------------------------------------------------- */
.s-about {
    position: relative;
    overflow: hidden;
    background-image: url(img/bg-1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom right;
    background-color: #efefef;
    z-index: 1;
}
.s-about:before {
    content: "";
    background: #efefef;
    opacity: .8;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.s-about .content {
    padding: 0 35% 0 0;
}
.s-about .text {
    padding: 0 12% 0 0;
}
.s-about .phone-box {
    margin: 45px 0;
}
.s-about .phone {
    width: max-content;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: #000000;
}
.s-about .phone:hover {
    color: #000000;
}
.s-about .phone svg {
    display: block;
    width: 57px;
    height: 57px;
    margin-right: 25px;
}
.s-about .wrap-img {
    position: absolute;
    right: -25px;
    bottom: -5px;
    max-width: 550px;
}
@media (max-width: 1199px) {
    .s-about .content {
        padding: 0;
    }
    .s-title br {
        display: none;
    }
    .s-about .text {
        padding: 0 5% 0;
        margin: 0 auto;
    }
    .s-about .phone {
        margin: 0 auto;
    }
    .s-about .wrap-img {
        width: 100%;
        max-width: 400px;
        right: calc(50% - 200px);
    }
}
@media (max-width: 767px) {
    .s-about {
        background-position: center;
    }
    .s-about .text {
        margin: -15px auto;
    }
    .s-about .phone {
        font-size: 1.5rem;
    }
    .s-about .phone svg {
        width: 34px;
        height: 34px;
        margin-right: 10px;
    }
    .s-about .wrap-img {
        max-width: 240px;
        right: calc(50% - 120px);
    }
}



/* s-benefits
-------------------------------------------------------------- */
.s-benefits {
    position: relative;
    overflow: hidden;
}
.s-benefits .benefits .item {
    margin: 35px 0;
}
.s-benefits .benefits .item .wrap {
    max-width: 280px;
    margin: 0 auto;
}
.s-benefits .benefits .item .icon {
    min-width: 75px;
    min-height: 75px;
    max-width: 75px;
    max-height: 75px;
    margin: 0 auto;
}
.s-benefits .benefits .item .title {
    font-size: 24px;
    font-weight: 600;
    line-height: 120%;
    margin: 30px 0 15px;
}
@media (max-width: 767px) {
    .s-benefits {
        padding-top: 65px;
    }
    .s-benefits .benefits .item {
        margin: 20px 0;
    }
    .s-benefits .benefits .item .title {
        margin: 20px 0 10px;
    }
}



/* s-scheme
-------------------------------------------------------------- */
.s-scheme {
    position: relative;
    overflow: hidden;
}
.s-scheme .schemes .item {
    position: relative;
    margin: 35px 0;
    z-index: 1;
}
.s-scheme .schemes .item:after,
.s-scheme .schemes .item:before {
    content: "";
    background: #ebebeb;
    position: absolute;
    top: 60px;
    width: 50%;
    height: 5px;
    z-index: -1;
}
.s-scheme .schemes .item:after {
    right: 0;
}
.s-scheme .schemes .item:before {
    left: 0;
}
.s-scheme .schemes .item:last-child:after {
    display: none;
}
.s-scheme .schemes .item:first-child:before {
    display: none;
}
.s-scheme .schemes .item .wrap {
    max-width: 280px;
    margin: 0 auto;
}
.s-scheme .schemes .item .icon {
    min-width: 125px;
    min-height: 125px;
    max-width: 125px;
    max-height: 125px;
    border-radius: 50%;
    background-color: #dd1515;
    border: 5px solid #ebebeb;
    margin: 0 auto;
}
.s-scheme .schemes .item .icon img {
    display: block;
    margin: auto;
}
.s-scheme .schemes .item .icon .num {
    position: absolute;
    top: -5px;
    left: -5px;
    background-color: #222222;
    color: #FFFFFF;
    border-radius: 50%;
    width: 45px;
    padding: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-align: center;
}
.s-scheme .schemes .item .title {
    font-size: 18px;
    font-weight: 600;
    line-height: 140%;
    margin: 30px 0 15px;
}
@media (max-width: 1199px) {
    .s-scheme .schemes .item:after,
    .s-scheme .schemes .item:before {
        display: none;
    }
}
@media (max-width: 767px) {
    .s-scheme {
        padding-top: 65px;
    }
    .s-scheme .schemes .item {
        margin: 15px 0;
    }
    .s-scheme .schemes .item .title {
        margin: 20px 0 10px;
    }
}


/* s-callme
-------------------------------------------------------------- */
.s-callme {
    position: relative;
    overflow: hidden;
    background-image: url(img/bg-2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #efefef;
    color: #FFFFFF;
    z-index: 1;
}
.s-callme:before {
    content: "";
    background: #222222;
    opacity: .75;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.s-callme .wrap {
    border: 15px solid #dd1515;
    padding: 65px 10%;
}
.s-callme .wrap .s-title {
    font-size: 2.75rem;
    line-height: 1.35;
    margin: 0;
}
.s-callme .wrap .left {
    padding-right: 65px;
}
.s-callme .wrap .right .text {
    font-size: 1.2em;
    margin-bottom: 30px;
}
.s-callme .wrap .right .text a {
    color: #FFFFFF;
    font-weight: 600;
}
@media (max-width: 1199px) {
    .s-callme .wrap .left {
        padding-right: 0;
    }
    .s-callme .wrap .s-title {
        font-size: 2.5rem;
        line-height: 1.35;
        margin: 0 0 25px;
    }
}
@media (max-width: 767px) {
    .s-callme .wrap {
        border: 5px solid #dd1515;
        padding: 10%;
    }
    .s-callme .wrap .s-title {
        font-size: 1.8rem;
    }
    .s-callme .wrap .right .text {
        font-size: 1em;
        margin-bottom: 30px;
    }
}



/* s-faq
--------------------------------------------- */
.s-faq {
    position: relative;
    background-color: #efefef;
    overflow: hidden;
}
.s-faq .s-title {
    text-align: center;
}
.s-faq ul#accordion {
    margin: 0;
    padding: 0;
    list-style: none;
}
.s-faq ul#accordion li {
    display: block;
    margin: 0 0 20px;
}
.s-faq ul#accordion li span {
    position: absolute;
    right: 14px;
}
.s-faq ul#accordion li h4 {
    position: relative;
    font-size: 1.1em;
    font-weight: 600;
    border-top: 1px solid #d2d2d2;
    padding: 20px 40px 0 10px;
    cursor: pointer;
}
.s-faq ul#accordion li:first-child h4 {
    border-top: none;
}
.s-faq ul#accordion li h4:hover {
    color: #dd1515;
}
.s-faq ul#accordion li .text {
    display: none;
    padding: 10px;
}
.s-faq ul#accordion li .text p:last-child {
    margin: 0;
}
.s-faq ul#accordion li ul > li {
    list-style: disc;
}
@media (max-width: 767px) {
    .s-faq {
        margin-bottom: 0;
    }
}




/* s-contacts
-------------------------------------------------------------- */
.s-contacts .row > [class^="col-"],
.s-contacts .row > [class*=" col-"] {
    padding-right: 0;
    padding-left: 0;
}
.s-contacts .shadow-wrap {
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.08);
}
.s-contacts .contacts-wrap {
    padding: 75px 30px 75px 75px;
}
.s-contacts .form-wrap {
    background-color: #e06024;
    padding: 85px 60px 75px;
}
.s-contacts .form-wrap .companyForm-title {
    margin: 0 0 25px;
}
.s-contacts .contacts .box {
    position: relative;
    padding-left: 55px;
}
.s-contacts .contacts .box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    -webkit-background-size: contain;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.s-contacts .contacts .box-address:before {
    background-image: url(img/i-address.svg);
}
.s-contacts .contacts .box-phone:before {
    background-image: url(img/i-phone2.svg);
}
.s-contacts .contacts .box-email:before {
    background-image: url(img/i-mail.svg);
}
.s-contacts .contacts .box-timework:before {
    background-image: url(img/i-working.svg);
}
.s-contacts .contacts .box+.box {
    margin-top: 30px;
}
.s-contacts .contacts .label {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: .3em;
}
.s-contacts .contacts .value a {
    color: #000000;
}
.s-contacts .contacts .value a:hover {
    color: #e06024;
}
@media (min-width: 1200px) {
    .s-contacts .row {
        margin-right: 0;
        margin-left: 0;
    }
    .s-contacts .map {
        min-height: 360px;
    }
}
@media (max-width: 1199px) {
    .s-contacts .contacts-wrap,
    .s-contacts .form-wrap {
        padding: 65px 60px 30px;
    }
    .s-contacts .form-wrap {
        padding: 66px 30px 30px;
    }
}
@media (max-width: 767px) {
    .s-contacts .contacts-wrap,
    .s-contacts .form-wrap {
        padding: 45px 25px;
    }
    .s-contacts .map {
        min-height: 260px;
    }
}



/* footer
-------------------------------------------------------------- */
footer {
    padding: 40px 0 50px;
}
footer .footer-link {
    font-size: 12px;
    color: #93969d;
}
footer .footer-link:hover,
footer .footer-link span {
    color: #e06024;
}
footer .privacy {
    text-decoration: underline;
}





/* =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;
}

/* Text meant only for screen readers. */
.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. */
}