/********************************
--Codec Widgets Style ---
---------------------------------------------

INDEX:

    001 - codex-search-widget
    002 - codex-recent-post
    003 - codex-popular-post
    004 - codex-social-link
    030 - codex-tags
    
**********************************/ 



/*----------------------------------------
    001 - codex-search-widget
----------------------------------------*/


#cx_search_widget {
    width: 100%;
}

#cx_search_widget ul {
    padding: 0;
    margin: 0;
}

#cx_search_widget ul li {
    list-style-type: none;
}

#cx_recent_posts_small ul li  {
    margin: 0;
    padding: 0;
}

#cx_recent_posts_small ul li a {
    display: inline;
    color: #1E8BC3;
}

#cx_search_widget .cx-search-form {
/*    border: 2px solid;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 10px;
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 15px;
    border-radius: 0;*/

    height: 50px;
    border-style: solid;
    border-width: 2px;
    background-color: transparent;
}

/*#cx_search_widget .cx-search-form :focus {
    border-color: #777777;
    outline: none;
}
*/









/*----------------------------------------
    001 - codex-recent-post
----------------------------------------*/
#cx_recent_posts_small {
    width: 100%;
}

#cx_recent_posts_small ul li  {
    overflow: auto;
    margin-bottom: 20px;
    line-height: 20px;
    margin-bottom: 20px;
}

#cx_recent_posts_small ul li a {
    display: inline;
    color: #1E8BC3;
}


.cx-wrapper-recent-post-img {
    width: 20%;
    min-height: 70px;
    overflow: auto;
    float: left;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cx-recent-post-small-meta{
    width: 65%;
    float: left;
    margin-left: 5%;
}
.cx-recent-post-small-title-meta {
    font-size: 16px;
    line-height: 20px;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 5px;  
}


.cx-recent-post-small-date-meta {
    font-size: 14px;
    line-height: 14px;
    color: #777777;
}











/*----------------------------------------
    001 - codex-popular-post
----------------------------------------*/
#popular_posts {
    width: 100%;
}

#popular_posts ul li  {
    overflow: auto;
    margin-bottom: 20px;
    line-height: 20px;

}

#popular_posts ul li a {
    display: inline;
}

.cx-wrapper-popular-img {
    width: 20%;
    min-height: 70px;
    overflow: auto;
    float: left;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cx-popular-post-meta {
    width: 65%;
    float: left;
    margin-left: 5%;
}

.cx-popular-post-date-meta {
    font-size: 16px;
    line-height: 16px;
}

.cx-popular-post-conten-meta {
    font-size: 13px;
    line-height: 20px;
    font-weight: normal;
    margin-top: 8px;
    word-spacing: 3px;
}







/*----------------------------------------
    001 - codex-social-link
----------------------------------------*/
.mr-icon {
    font-size: 30px;
}











/*----------------------------------------
    001 - codex-tags
----------------------------------------*/


.tagcloud a {
    font-size: 14px !important;
    color: #1E8BC3;
    display: inline-block;
    border: 2px solid;
    font-weight: 400;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px;
    transition: all 0.3s;
}


.tagcloud a:hover {
    background-color: #1E8BC3;
    color: #ffffff;
    border: 2px solid #1E8BC3;
}



/*contact-page*/


.page-template-page-contact .contact-no {
    padding: 10px;
    text-align: center;
}

.page-template-page-contact .contact-no a {
    font-size: 20px;
}

.page-template-page-contact .contact-no a i{
width: 30px;
    height: 30px;
    line-height: 30px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 50%;
    text-align: center;
    margin-right: 2px;
    display: inline-block;
    border: 2px solid #fff;
    font-size: 17px;
}


.left {
    display: inline-block;
    width: 49%;
    margin-right: 1%;
    float: left;
}

.right {
    display: inline-block;
    width: 49%;
    margin-left: 1%;
    float: left;
}

.landing-form-wrapper .wpcf7-form-control-wrap {
    position: relative;
    width: 48%;
    float: left;
    margin-right: 2%;
}

.landing-form-wrapper .wpcf7-form-control-wrap.Service-Type {
    width:98%;
}


.landing-form-wrapper span.wpcf7-not-valid-tip {
    margin-top: -20px;
    margin-bottom: 20px;
}

#mr_body .landing-page-form input,
#mr_body .landing-page-form select {
    border: 1px solid #2991d6;
    margin-bottom: 30px;
    background-color: #fff;
    color: #333;
    height: 50px;
}

#mr_body .landing-page-form input[type="submit"] {
    color: #fff;
    background-color: #2991d6;
    border-color: #2991d6;
    width: 98%;
    margin-bottom: 0;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-template-page-contact .wpcf7 input,
.page-template-page-contact .wpcf7 textarea {
    border: 1px solid #333;
}

.error404 label span,
.search-no-results .page-content span {
    display: block;
    margin-bottom: 15px;
}

.search-no-results input[type="search"] {
    border: 1px solid #333;
}

.error404 input[type="search"] {
    width: 50%;
    border: 1px solid #333;
}

.error404 h5 {
    margin-bottom: 30px;
}




/********************************************/
/* For demo-3 template and Header Version 2 */
/********************************************/


.demo-3 .tagcloud a {
    color: #CDD1BE;
}

.demo-3 .tagcloud a:hover {
    background: #E2A9A1;
    color: #fff;
    border: 2px solid #E2A9A1;
}

.demo-3 .overl-b.full.padd-top-75 {
    padding-top: 144px;
}

#mr_body header.header-version-four + div .head-post,
#mr_body header.header-version-four + .head-post,
.demo-3 header + .head-post .overl-b.full {
    padding-top: 75px;
}

#mr_body header.header-version-six .wr-megamenu-container, 
#mr_body header.header-version-2 .wr-megamenu-container {
    background: transparent!important;
    text-align: center;
}

#mr_body header.header-version-2 .wr-megamenu-container ul.wr-mega-menu > li,
#mr_body header.header-version-six .wr-megamenu-container ul.wr-mega-menu > li,
#mr_body header.header-version-six .wr-megamenu-container ul.wr-mega-menu,
#mr_body header.header-version-2 .wr-megamenu-container ul.wr-mega-menu {
    float: none;
}

#mr_body header.header-version-six .wr-megamenu-container ul.wr-mega-menu > li,
#mr_body header.header-version-2 .wr-megamenu-container ul.wr-mega-menu > li {
    text-align: left;
}

#mr_body header.header-version-six .wr-megamenu-container ul li:hover > ul,
#mr_body header.header-version-2 .wr-megamenu-container ul li:hover > ul,
#mr_body header.header-version-six .wr-megamenu-container ul li.focus > ul,
#mr_body header.header-version-2 .wr-megamenu-container ul li.focus > ul {
    left: 0
}

#mr_body.demo-3 .wr-megamenu-container .current_page_item > a, 
#mr_body.demo-3 .wr-megamenu-container .current_page_ancestor > a, 
#mr_body.demo-3 .wr-megamenu-container .current-menu-item > a, 
#mr_body.demo-3 .wr-megamenu-container .current-menu-ancestor > a {
    color: #E88B97;
}

#mr_body.demo-3 .wr-megamenu-container ul.wr-mega-menu li.wr-megamenu-item:hover > a.menu-item-link {
    background-color: #E88B97;
}

#mr_body.demo-9 .wr-megamenu-container a:hover,
#mr_body.demo-7 .wr-megamenu-container a:hover,
#mr_body.demo-5 .wr-megamenu-container a:hover,
#mr_body.demo-3 .wr-megamenu-container a:hover {
    color: inherit;
}

#mr_body.demo-3 .wr-megamenu-container ul ul a:hover, 
#mr_body.demo-3 .wr-megamenu-container ul ul li.focus > a {
    color: #E88B97 !important;
    padding-left: 3px;
}

#mr_body.demo-3 .preview-text h3 {
    color: #E88B97;
}

#mr_body .single-column .h-350 {
    height: 300px;
}



/********************************************/
/* For demo-7 template and Header Version 6 */
/********************************************/

#mr_body .header-version-six .text-c.h-50.padd-y-10 {
    box-sizing: content-box;
}

.demo-7 .tagcloud a {
    color: #3E372D;
}

.demo-7 .tagcloud a:hover {
    background: #3E372D;
    color: #fff;
    border: 2px solid #3E372D;
}

#mr_body.demo-7 .wr-megamenu-container .current_page_item > a, 
#mr_body.demo-7 .wr-megamenu-container .current_page_ancestor > a, 
#mr_body.demo-7 .wr-megamenu-container .current-menu-item > a, 
#mr_body.demo-7 .wr-megamenu-container .current-menu-ancestor > a {
    color: #C0BEA0;
}

#mr_body.demo-7 .wr-megamenu-container ul.wr-mega-menu li.wr-megamenu-item:hover > a.menu-item-link {
    background-color: #C0BEA0;
}

#mr_body.demo-7 .wr-megamenu-container a:hover {
    color: inherit;
}

#mr_body.demo-7 .wr-megamenu-container ul ul a:hover, 
#mr_body.demo-7 .wr-megamenu-container ul ul li.focus > a {
    color: #C0BEA0 !important;
    padding-left: 3px;
}

#mr_body.demo-7 .preview-text h3 {
    color: #C0BEA0;
}

#mr_body .header-version-six nav.float-r ul,
#mr_body .header-version-six nav.float-r {
    float: none;
}

#mr_body .header-version-six .sf-menu > li {
    display: inline-block;
    float: none;
}

/********************************************/
/* For demo-9 template and Header Version 5 */
/********************************************/

.demo-9 .tagcloud a {
    color: #E66C22;
}

.demo-9 .tagcloud a:hover {
    background: #E66C22;
    color: #fff;
    border: 2px solid #E66C22;
}

}

#mr_body.demo-9 .wr-megamenu-container .current_page_item > a, 
#mr_body.demo-9 .wr-megamenu-container .current_page_ancestor > a, 
#mr_body.demo-9 .wr-megamenu-container .current-menu-item > a, 
#mr_body.demo-9 .wr-megamenu-container .current-menu-ancestor > a {
    color: #E66C22 !important;
}

#mr_body.demo-9 .wr-megamenu-container .current_page_item > a, 
#mr_body.demo-9 .wr-megamenu-container .current_page_ancestor > a, 
#mr_body.demo-9 .wr-megamenu-container .current-menu-item > a, 
#mr_body.demo-9 .wr-megamenu-container .current-menu-ancestor > a {
    color: #E66C22;
}

#mr_body.demo-9 .wr-megamenu-container ul.wr-mega-menu li.wr-megamenu-item:hover > a.menu-item-link {
    background-color: #E66C22;
}

#mr_body.demo-9 .wr-megamenu-container a:hover {
    color: inherit;
}

#mr_body.demo-9 .wr-megamenu-container ul ul a:hover, 
#mr_body.demo-9 .wr-megamenu-container ul ul li.focus > a {
    color: #E66C22 !important;
    padding-left: 3px;
}

#mr_body.demo-9 .preview-text h3 {
    color: #E66C22;
}


#mr_body .header-version-nine + div .head-post .overl-b.full {
    padding-top: 145px;
}
#mr_body .header-version-nine + .head-post .overl-b.full {
    padding-top: 70px;
}

#mr_body.demo-5 .home-newsletter-section input[type="submit"] {
    background: #1E8BC4;
}

#mr_body.demo-9 .home-newsletter-section input[type="submit"] {
    background: #E66C22;
}



/********************************************/
/*           Responsive Fixings             */
/********************************************/



@media screen and (max-width: 1200px){
    .page-template-page-landing .wpcf7 .col-2-4,
    #wpcf7-f308-p294-o1 .col-2-4 {
        width: 100%;
    }

    #mr_body.demo-7 .mobile-nav,
    #mr_body.demo-3 .mobile-nav {
    text-align: center;
    float: none;
    }

    .header-version-four .social-m.contact-info {
        margin-left: 20px;
    }

    #mr_body header.header-version-2 .primary-nav-details {

        margin: 0;
    }

    #mr_body header.header-version-2 .primary-nav-details i {
        font-size: 30px;
    }

    #mr_body.demo-3 .single-gallery,
    #mr_body.demo-3 .slider-showcase-box,
    #mr_body.demo-3 .team-member {
        width: 50%;
    }

    #mr_body header.header-version-six .primary-nav-details,
    #mr_body header.header-version-four .primary-nav-details {
        margin: 0;
    }

    #mr_body .header-version-six .primary-nav-details i,
    #mr_body .header-version-four .primary-nav-details i {
        font-size: 24px;
    }

    #mr_body header.header-version-nine .primary-nav-details,
    #mr_body header.header-version-six .primary-nav-details,
    #mr_body header.header-version-four .primary-nav-details {
        margin: 0;
    }

    #mr_body .header-version-nine .primary-nav-details i,
    #mr_body .header-version-six .primary-nav-details i,
    #mr_body .header-version-four .primary-nav-details i {
        font-size: 24px;
    }

    #mr_body.demo-9 .menu-type-5.header-version-nine .float-r.resp-n {
        margin-left: 15px;
    }

    .header-version-nine #o-wrapper.mobile-nav.o-wrapper.float-r {
        height: 70px;
    }    
}



@media only screen and (max-width: 900px) {
    .left, .right {
        display: block;
        width: 100%;
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
}

@media only screen and (max-width: 600px) {

    #mr_body header.header-version-four + div .head-post,
    #mr_body header.header-version-four + .head-post {
        padding-top: 0;
    }

    #mr_body.demo-3 .single-gallery,
    #mr_body.demo-3 .slider-showcase-box,
    #mr_body.demo-3 .team-member {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {

    #mr_body .header-version-four .float-r.resp-n,
    #mr_body .header-version-nine .float-r.resp-n {
        display: inline-block;
        width: auto;        
    }

    #mr_body.demo-3 .mobile-nav,
    #mr_body.demo-7 .mobile-nav {
        text-align: center;
        position: relative;
         right: 0; 
    }

    #mr_body .header-version-four #o-wrapper.mobile-nav.o-wrapper.float-r {
        right: 100px;
    }

    #mr_body .header-version-four .social-m.contact-info {
        margin-right: 0;
        margin-left: 0;
    }

    #mr_body .header-version-four .social-m.contact-info a {
        padding: 0 10px;
    }

}


