/*
        Theme Name: dr.Mac
        Theme URI: 
        Description: dr.Mac WordPress Theme
        Version: 1.4.3
        Author: Nir Avni
        Tags: Blank, HTML5, CSS3
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    -webkit-font-smoothing:antialiased;
    font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
    font-size:62.5%;
}
body {
    font-family: 'Open Sans Hebrew',sans-serif;
    color:#202020;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
    max-width:100%;
    vertical-align:bottom;
}
a {
    color: #202020;
    text-decoration:none;
}
a:hover {
    color:#202020;
}
a:focus {
    outline:0;
}
a:hover,
a:active {
    outline:0;
}
input:focus {
    outline:0;
    border:1px solid #04A4CC;
}
h1, h2 {
    font-size: 32px;
}

.btn-row a{
    background-color: transparent;
    background-image: url(img/btn-bg.png);
    background-position: 10px center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    height: 60px;
    vertical-align: middle;
    color: #000000 !important;
    transition: 0.2s all ease-in;
}

.btn-row.light a {
    background-image: url(img/btn-light-bg.png);
    color: #ffffff !important;
}

.btn-row a:hover {
    background-position: left center;
    background-size: auto 85%;
    color: #ec1c24 !important;
}

body.page-template-tabs .elementor-tab-content {
    display: none !important;
}
body.page-template-tabs .elementor-column.tabs-content {
    display: block;
}
html body.page-template-tabs .elementor-widget-tabs .elementor-tab-title {
    text-align: center;
    margin: 5px;
}
body.page-template-tabs:not(.elementor-editor-active) .class-page-title {

}

.elementor-tabs-content-wrapper {
    text-align: center;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
    max-width: 100%;
    width:100%;
    margin:0 auto;
    position:relative;
}
/* header */
header.header {
    background-color: #000000;
    height: 60px;
    position: relative;
}

header.header .container {
    height: 100%;
}

header.header .header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}


/* logo */
.logo {

}
header.header .logo .custom-logo {
    max-height: 50px;
    height: auto;
    width: auto;
}
/* nav */
header.header .header-content nav.nav {
    height: 100%;
}

header.header nav.nav>ul{
    display: -webkit-flex;
    display: flex;
    list-style: none;
    height: 100%;
    margin: 0;
    padding: 0;
}



header.header nav.nav>ul>li {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    padding: 0 15px;
    position: relative;
}

header.header nav.nav>ul>li a {
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    z-index: 2;
    height: 100%;
    width: 100%;
    text-align: center;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

header.header nav.nav>ul li::before, header.header nav.nav>ul>li::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(222, 10, 13, 0.75);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transform: translate(0,-100%);
    transform: translate(0,-100%);
    -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
    transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}
header.header nav.nav>ul>li::after{
    -webkit-transition-delay: 0.2s; /* Safari */
    transition-delay: 0.2s;
}
header.header nav.nav>ul>li:hover::before, header.header nav.nav>ul>li:hover::after{
    -webkit-transform: translate(0,0);
    transform: translate(0,0);
}

header.header nav.nav>ul li.current_page_item {
    background-color: #D9181C;
}

header.header .phone {
    height: 100%;
}
header.header .phone p {
    margin: 0;
    width: max-content;
    padding: 0 15px;
    background-color: #e11f26;
    height: 100%;
    color:#ffffff;
    font-size: 18px;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}


header.header .phone p img.phone-icon {
    height: 26px;
    width: auto;
    margin-left: 10px;
}

header.header .mobile-nav {
    height: 100%;
}
header.header .mobile-nav .mobile-menu-btn {
    border: 1px solid #e11f26;
    color: #e11f26;
    font-size: 20px;
    top: 6px;
    left: 6px;
    width: 35px;
    height: 35px;
    text-align: center;
    padding: 3px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    cursor: pointer;
    z-index: 9;
}

header.header .mobile-nav ul {
    position: fixed;
    display: none;
    left: 0;
    top: 50px;
    z-index: 9;
    margin: 0;
    padding: 10px 15px;
    list-style: none;
    width: max-content;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 0 5px 5px 0;
}

header.header .mobile-nav ul> li {
    border-bottom: 1px solid #d60000;
    padding: 5px 0;
}

header.header .mobile-nav ul> li:last-of-type {
    border-bottom: none;
}

header.header .mobile-nav ul> li a {
    font-size: 20px;
    display: block;
    color: #ffffff;
    width: 100%;
    height: 100%;
    text-align: center;
    text-decoration: none;
}


/* sidebar */
.sidebar {

}
/* footer */
footer.footer {
    padding-top: 100px;
    padding-bottom: 50px;
    background-color: #231f20;
    background-image: url(img/footer-bg.jpg);
    background-size: auto 100px;
    background-position: center top;
    background-repeat: no-repeat;
    text-align: center;
}


footer.footer .footer-form .footer-form-title {
    color: #f2f2f2;
    margin-bottom: 20px;
}

footer.footer .footer-form .wpcf7-form-control-wrap {
    padding: 0 15px;
    max-width: 24%;
    display: inline-block;
}

footer.footer .footer-form  .wpcf7-form-control-wrap input {
    border: none;
    background-color: transparent;
    border-left: 1px solid #f9f9f9;
    border-bottom: 1px solid #f9f9f9;
    height: 35px;
    padding-right: 10px;
    font-size: 17px;
    max-width: 100%;
    outline: none;
    color: #f2f2f2;
}

footer.footer .footer-form input[type='submit']{
    background-color: #e11f26;
    padding-left: 30px;
    padding-right: 30px;
    border: none;
    height: 35px;
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
}


footer.footer .footer-form  .wpcf7-form-control-wrap input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #c5c5c5;
}
footer.footer .footer-form  .wpcf7-form-control-wrap input::-moz-placeholder { /* Firefox 19+ */
    color: #c5c5c5;
}
footer.footer .footer-form  .wpcf7-form-control-wrap input:-ms-input-placeholder { /* IE 10+ */
    color: #c5c5c5;
}
footer.footer .footer-form  .wpcf7-form-control-wrap input:-moz-placeholder { /* Firefox 18- */
    color: #c5c5c5;
}


footer.footer .footer-form .wpcf7-form-control-wrap span.wpcf7-not-valid-tip {
    position: absolute;
}

footer.footer .footer-form div.wpcf7-validation-errors {
    border-color: red;
    background-color: #f2f2f2;
    color: #000000;
    width: max-content;
    margin: 30px auto;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/

body.home .main-slider {
    overflow: hidden;
}

body.home .screen-section {
    margin-top: -100px;
}

.contact-us-page-form form {
    text-align: center;
    width: 80%;
    position: relative;
    margin: 0 auto;
}

.contact-us-page-form form .wpcf7-form-control-wrap {
    width: 100%;
}

.contact-us-page-form form .wpcf7-form-control-wrap input {
    height: 35px;
    outline: none;
    border: none;
    background-color: #f2f2f2;
    margin-bottom: 15px;
    font-size: 16px;
    padding-right: 10px;
    width: 100%;
}

.contact-us-page-form form input[type='submit']{
    background-color: #e11f26;
    color: #ffffff;
    font-size: 18px;
    border: none;
    font-weight: bold;
    width: 100%;
    height: 35px;
}



html body .elementor-widget-tabs .elementor-tab-title {
    display: inline-block;
    width: 22%;
    border: none;
    background-color: #000000;
    margin: 10px;
    color: #ffffff;
}
html body .elementor-widget-tabs .elementor-tab-title.elementor-active {
    background-color: #e11f26;
    color: #ffffff !important;
    background-image: url(img/btn-sign.png);
    background-position: 103% center;
    background-repeat: no-repeat;
    background-size: auto 150%;
}
.elementor-tabs-wrapper {display: none;}
.elementor-tab-content {
    position: absolute;
    top: 200px;
    width: 100%;
    border: none;
}




body.page-template-articles-template .elementor-post .elementor-post__title {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}
body.page-template-articles-template .elementor-post .elementor-post__title a{
    font-weight: normal;
    font-size: 21px;
}

body.page-template-articles-template .elementor-post .elementor-post__text {
    font-size: 16px;
    text-align: center;
}
body.page-template-articles-template .elementor-post .elementor-post__text .elementor-post__excerpt {
    text-align: justify;
}
body.page-template-articles-template .elementor-post .elementor-post__read-more {
color: #ffffff !important;
    background-color: #e11f26;
    font-size: 18px;
    font-weight: normal;
    padding: 3px 30px;
    background-image: url(img/btn-sign.png);
    background-position: 108% center;
    background-repeat: no-repeat;
    background-size: 25%;
}





/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
        TYPOGRAPHY
\*------------------------------------*/

@font-face {
    font-family:'Font-Name';
    src:url('fonts/font-name.eot');
    src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
        url('fonts/font-name.woff') format('woff'),
        url('fonts/font-name.ttf') format('truetype'),
        url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}


@media only screen and (max-width:1140px) {

    html body.page-template-tabs .elementor-widget-tabs .elementor-tab-title {
        width: 30%
    }

}


@media only screen and (max-width:768px) {
    footer.footer .footer-form .wpcf7-form-control-wrap { 
        display: block;
        margin: 0 auto;
        text-align: center;
        max-width: 80%;
        margin-bottom: 15px;
    }
    footer.footer .footer-form input[type='submit']{
        min-width: 40%l
    }

    html body.page-template-tabs .elementor-widget-tabs .elementor-tab-title {
        width: 47%
    }
}

@media only screen and (max-width:480px) {
    header.header .phone {
        padding: 0;
    }
    header.header .phone p {
        padding: 0 5px;
        font-size: 15px;
    }

    header.header nav.mobile-nav {
        position: absolute;
        left: 0;
        top: 0;
        margin: 0;
        padding: 0;
    }

    header.header .logo {
        padding-left: 25px;
    }

    html body.page-template-tabs .elementor-widget-tabs .elementor-tab-title {
        width: 48%;
        margin: 2px;
        padding: 5px 1px;
    }

}



@media only screen and (min-width:1024px) {

}

@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
    background:#04A4CC;
    color:#FFF;
    text-shadow:none;
}
::-webkit-selection {
    background:#04A4CC;
    color:#FFF;
    text-shadow:none;
}
::-moz-selection {
    background:#04A4CC;
    color:#FFF;
    text-shadow:none;
}

/*------------------------------------*\
    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%;
    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 .wp-caption-text,
.gallery-caption {
    font-size:11px;
    line-height:17px;
    margin:0;
    padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
    * {
        background:transparent !important;
        color:#000 !important;
        box-shadow:none !important;
        text-shadow:none !important;
    }
    a,
    a:visited {
        text-decoration:underline;
    }
    a[href]:after {
        content:" (" attr(href) ")";
    }
    abbr[title]:after {
        content:" (" attr(title) ")";
    }
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content:"";
    }
    pre,blockquote {
        border:1px solid #999;
        page-break-inside:avoid;
    }
    thead {
        display:table-header-group;
    }
    tr,img {
        page-break-inside:avoid;
    }
    img {
        max-width:100% !important;
    }
    @page {
        margin:0.5cm;
    }
    p,
    h2,
    h3 {
        orphans:3;
        widows:3;
    }
    h2,
    h3 {
        page-break-after:avoid;
    }
}
