/*
Theme Name:     3clicks Child Theme
Theme URI:      http://3clicks.bringthepixel.com
Description:    Got questions? Visit our <a href="http://bringthepixel.com/support/">support forum</a>.
Author:         bring the pixel
Author URI:     http://www.bringthepixel.com/
Template:       3clicks
Version:        1.0
Tags:           flexible-width, custom-colors, custom-menu, featured-images, post-formats, theme-options, threaded-comments, translation-ready
*/

/* Place all your CSS modifications below */


/* styles for box header */
/*#content .box-header {
background-color: #234E9A;
background-image: none;
color: #234E9A;
}

/* styles for box content */
#content .box-content {
    background-color: yellow;
    border-color: yellow;
}


/* logo k levomy krau */
body.home #g1-id {
    margin-left:-30px;
    float:left;

}


.phone-top{
    float: right;
    font-size: 21px;
    margin: 0;
    margin-top: -82px;
}
.clear{
    clear:both;
}

.phone-bottom{

    margin: 0px 0px 0 0;
    font-size: 20px;
}

.phone-bottom span{
    padding: 0 0 0 20px;
}

p.h2 {
    text-align: center;
    font-size: 25px;
}

div.fl_img img {
    width: 46.5%;
}

div.fl_img img.left {
    float: left;
    margin-left: 0.5%;

}

div.fl_img img.right {
    float: right;
    margin-right: 3%;
}

.center-text{
    text-align: center;
}
.spoiler_body {display:none; cursor:pointer;}
.our-works{
    overflow: hidden;
    width: 100%;
    text-align: center;
}
.our-works ul{
    list-style-type: none;
    padding:0;
    margin:0;
}
.our-works ul li{
    display: inline-block;
    max-width:33%;
}
.our-works ul li img{
    width:100%;
}
.our-works ul li span{
    display:block;
    padding:5px 0;
}
.ow-t{
    font-size:30px;
}
.ow-l{
    display: inline-block;
    margin-top:30px;
}
.cont-gl{
    margin-top:10px;
    text-align:center;
}
.cont-tx{
    border:1px solid #0075C6;
    padding:4px;
}

.at4-follow .at4-follow-inner{
    padding: 10px 230px 10px 15px !important;
}

.at4-follow .at4-follow-inner{
    padding: 0;
}
#g1-logo {
    width:auto !important;
}

#g1-id {
    width: 50% !important;
}

#g1-id .site-title a, #g1-id .site-title img { 
    display: block;
    /*width: auto;*/
    /*        width:100%;*/
    max-width:100%;
    /*	width: 50%;*/
    /*	height: 87px;*/
    height:100%;
    margin-left: 0px;
    margin-right: 0px;
}
#g1-id {
    /*//overflow:visible;*/
}
#g1-id .site-title {
    width: 500px;
    margin-left: 0px;
}

body.home #g1-id .site-title{
    margin-left: 30px;
}

#very-first-header, end-first-header {
    display: flex;
}
#very-header-adress {
    width: 50%;
    padding-right: 20px;
    text-align: center;
}
#very-logo-title {
    margin-top: 5px;
    /*	width: 50%;*/
    text-align: center;
}
#very-logo-title img {
    padding-top: 4px;
}
#very-header-phone {
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    display: flex !important;
    justify-content: space-around;
    flex-wrap: wrap;
}
.pre-menu-line {
    bottom: auto;
}
#g1-primary-nav {
    margin-top: 13px;
}



#g1-primary-nav-menu > .menu-item {
    width: auto;
}
#g1-primary-nav-menu > .menu-item > a:hover {

    opacity: 0.75 !important;
}

.menu-item-has-children {
    //background-color:#3d69a9;
}

#g1-primary-nav-menu {
    display: flex;
    justify-content: space-around;
}

/*//.g1-nav-item__arrow {
//	transform: none !important;
//	visibility: visible !important;
//    	opacity: 0.5 !important;
//}
//.g1-nav-item__arrow:hover {
//	color: red;
//	opacity: 1 !important;
//}*/
#g1-footer-nav-menu > .menu-item {
    display: inline-block;
    float:left;
    width: 45%;
}
#g1-footer-nav-menu > .menu-item:nth-child(even) {
    float:right;
}
.g1-nav-direction__prev, .g1-nav-direction__next {
    background-color: #00baff !important;
    transform: scale(1.4);

}
.g1-nav-direction__prev {
    left: 10px !important;
}
.g1-nav-direction__next {
    right: 10px !important;
}

.g1-nav-direction__prev::after, .g1-nav-direction__next::after {
    font-size: 20px !important;
}
.g1-simple-slider.g1-width-semi .g1-nav-direction {
    max-width: 1350px;
}
#g1-footer-nav {
    width: 60% !important;
}
#end-first-header {
    width: 40%;
}
#phone-header {
    /*	width: 50%;*/
    text-align:center;
}
#phone-header > a {
    color: white;
}
#phone-header > a > img {
    margin-top: 5px;
}
#phone-header > a:hover {
    color: black;
}

.navbar.main_nav{

    height:50px !important;
}

#navbarDropdown{
    background-color: #5884c3 !important;
    width:100%;
    text-align: center;
}

#navbarDropdown ul{
    margin: auto !important;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: space-around;
}

.main_nav.bg-dark{
    background-color: #5884c3 !important;
}
.dropdown-menu{
    background-color: #0084e6 !important;
    border-radius: 5px 5px 5px 5px;
    background-color: #0084e6;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    padding-top: 10px;
    padding-bottom: 10px;
    border:0px;
    
/*    border-color: #4e4799;*/

}


.dropdown-menu .dropdown-item{
    /*    background-color: #0084e6 !important;*/
    background-color: #0066b1 !important;
    border-color: #0084e6  !important;
    border-bottom: solid 1px;
   
}

.dropdown-menu .dropdown-item:hover{
    color:#fff  !important;
 opacity: 0.75 !important;
}
#g1-header .very-header-phone{
    display: flex !important;
    justify-content: space-around;
    
}

#g1-header  .g1-layout-inner{
    padding-top:5px;
}
/*.dropdown-toggle {
    font-weight: bold;
}*/

.dropdown-li {
    display:inline-block !important;
}
.dropdown-link {
    display:inline-block !important; 
    padding-right:4px !important;
}
.dropdown-caret {
    display:inline-block !important; 
    padding-left:4px !important;
}
 
 @media only screen and (min-width: 768px) {
     .dropdown:hover .dropdown-menu {
         display: block;
         margin-top: 0;
    } 
 }

@media only screen and (max-width: 1024px) {
    .main_content{
        width:100% !important;
    }

    #wrapper-custom {
        width: 220px  !important;
    }
}

@media only screen and (min-width: 725px) and (max-width: 900px) {
    #g1-id .site-title a, #g1-id .site-title img {
        height:auto;
        width:100%;
        margin-left: 10px;
    }

    #g1-id .site-title{
        width:230px;
        margin-left: 0px;
    }

    #very-logo-title {
        font-size: 12px;
    }

    #phone-header {
        font-size: 12px;
    }
}


@media only screen and (max-width: 725px) {
    #very-first-header > div {
        /*padding-bottom: 10px;*/
        /*width: 100%;*/
        text-align: center;
    }
    #very-first-header {
        flex-direction: column;
        align-items: center;
    }
    #g1-id .site-title {
        width: auto;
        height: auto;
    }
    #g1-id > .site-title > a {
        width: 100%;
        height: auto;
    }
    #g1-id #g1-mobile-logo {
        height: auto;
    }
    #g1-id {
        width: auto !important;
        padding: 0;
    }
    #g1-id + hr {
        display: block !important;
        margin-top: 1px;
        border-width: 1px;
        border-color: #1d4784;
    }
    #very-header-phone + hr {
        display: block !important;
        margin-top: 15px;
        margin-bottom: 0px;
        border-color: #1d4784;
        border-width: 2px;
    }

   #g1-header #phone-header a div{
        display:inline-block;
    }
    #g1-header  #phone-header a:first-child div{
        margin-right:20px;
    }
    
    #navbarDropdown ul {
     margin-left: 30px !important; 
     width: auto;
     text-align: left;
    /* display: flex; */
    /* justify-content: space-around; */
}
    
    .dropdown-menu{
        background-color: #5884c3  !important;
        border:none;
    }
    .dropdown-menu li{
         background-color: #5884c3  !important;
    }
    #g1-mobile-logo {
        width: auto !important;
    }
    #g1-primary-nav-menu {
        display: block !important;
    }
    .menu-item {
        //display: block !important;
        float:none !important;
        //width: auto !important;
    }

    .menu-item:nth-child(even) {
        float:none !important;
    }
    #g1-footer-area > div {
        flex-direction: column !important;
    }
    #g1-footer-nav-menu {
        width: 100% !important;
    }
    #g1-footer-nav {
        width: 100% !important;
    }
    #g1-footer-nav-menu > .menu-item {
        width: 100%;
        text-align: center;
    }
    #end-first-header {
        width: 100%;
    }
    #very-header-adress {
        width: 100%;
        text-align: center;
    }
    #phone-header {
        width: 100%;
        text-align: center;
    }
    #end-first-header {
        padding-top: 20px;
        border-top:3px solid ;
        margin-top:20px;
    }
    .arrow-down-custom {
        display: none !important;
    }
    #wrapper-custom {
        display: none;
    }

    #g1-content .g1-layout-inner {

        margin: auto !important;
    }

    .main_content{
        width:100% !important;
    }

    .main_text {
        padding-right:0px !important;
    }

    #very-logo-title{
        width: 100%  !important;
        margin-top:0px  !important;
        margin-bottom:15px  !important;
    }
    
    .dropdown-menu{
       box-shadow: none !important;
    }
    .dropdown-menu .dropdown-item{
   
    background-color: inherit !important;
    border-color: transparent  !important;
   
   
}
    
    .dropdown-item::before {
/*    display: inline-block;
    width: 0;
    height: 0;*/
font-size:8px;
    padding-right: 5px;
/*    vertical-align: .255em;*/
    content: "▶";
   
}
   
}

/*//@media only screen and (max-width: 900px)
//	#g1-primary-nav-menu {
//    		display: block !important;
//	}
//}*/


#page {
    overflow: auto !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
}

.arrow-down-custom-tmp {
    width: 0px !important;
    height: 0px !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 5px solid white !important;
}


.arrow-down-custom {
    border: solid white;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    vertical-align: middle;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    //margin-left: 5px;
    border-color: white !important;
    margin-left: 10px !important;
    margin-bottom: 5px;
}
#wrapper-custom .arrow-down-custom {
    border-color: #0066b1 !important;
    margin-left: 0px !important;
    margin-bottom: 0px !important;
}
.current_page_item > a > div.g1-nav-item__title, .current_page_parent>a>div.g1-nav-item__title, .current_page_ancestor>a>div.g1-nav-item__title, .current-menu-item>a>div.g1-nav-item__title, .current-menu-parent>a>div.g1-nav-item__title {
    //color: black !important;
    //opacity: 0.75 !important;
    font-weight: bold;
}

#g1-primary-nav > ul > li.current-menu-item > a > .g1-nav-item__title {
    padding-bottom: 4px;
    border-bottom: 2px solid #004787;
}
#g1-primary-nav > ul > li.current-menu-ancestor > a > .g1-nav-item__title {
    padding-bottom: 4px;
    border-bottom: 2px solid #004787;
}
#g1-primary-nav > ul > li.current-menu-parent > a > .g1-nav-item__title {
    padding-bottom: 4px;
    border-bottom: 2px solid #004787;
}
#g1-primary-nav > ul > li.current_page_parent > a > .g1-nav-item__title {
    padding-bottom: 4px;
    border-bottom: 2px solid #004787;
}
#g1-primary-nav > ul > li.current_page_ancestor > a > .g1-nav-item__title {
    padding-bottom: 4px;
    border-bottom: 2px solid #004787;
}

.g1-nav-item__title::after {
    visibility: hidden !important;
}
#wrapper-custom > .menu-item {
    list-style-type: none;
}
#wrapper-custom > .menu-item > div.g1-submenus > ul {
    list-style-type: none;
}
#g1-footer-text {
    padding-top: 10px;
}
#wrapper-custom > li > div::before {
    content:none !important;
}


.breads{margin-top: 10px!important;}


#wrapper-custom {
    list-style-type: none;
    color: black !important;
   /* margin-left: 25px;*/
}

#wrapper-custom ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    color: black !important;
}
#wrapper-custom .g1-submenus li > a > div {
    padding: 10px 20px;
}
#wrapper-custom > li > a > div.g1-nav-item__title {
    padding: 10px 20px;
}
#wrapper-custom li,  #wrapper-custom a {
    color: black !important;
}
#wrapper-custom > li {
    border-radius: 8px;
    background: white;
}
#wrapper-custom > li > a > div:hover {
    background: #ccc;
    //border-radius: 5px;
}
#wrapper-custom .g1-submenus li > a > div:hover {
    background: #ccc;	
    //border-radius: 5px;
}

#wrapper-custom ul li > a > div:hover {
    background: #ccc;	
}
#wrapper-custom ul li > a > div {
    padding: 10px 20px;
}
#wrapper-custom .current_page_item > a > div {
    background: #ccc;	
}
#wrapper-custom .arrow-down-custom {
    float: right;
    margin-top: 5px;
}
#wrapper-custom .g1-nav-item__arrow {
    display: none;
}
#wrapper-custom > li > a > .g1-nav-item__title {
    border-bottom: 3px solid #bbbbbb;
}
#wrapper-custom > li > ul > li, #wrapper-custom > li > div > ul > li {
    border-bottom: 2px solid #bbbbbb;
}
#wrapper-custom > li > div > ul > li:last-child, #wrapper-custom > li > ul > li:last-child {
    border-bottom: 0px solid #bbbbbb;
    border-radius: 0 0 8px 8px;
}
#wrapper-custom > li > div > ul > li:last-child div, #wrapper-custom > li > ul > li:last-child div {
    border-radius: 0 0 8px 8px;
}
#wrapper-custom > li > a .g1-nav-item__title {
    border-radius: 8px 8px 0 0;
}
#wrapper-custom .g1-submenus li:last-child {
    border-radius: 0 0 8px 8px;
}
.menu-item-2057 div {
    border-radius: 0px !important;
}
.menu-item-2057 ul li:last-child div {
    border-radius: 0 0 8px 8px !important;
}
.g1-nav--unstyled #g1-primary-nav-menu > li > a:after {
    visibility: hidden !important;
}
#g1-primary-nav-menu {
    letter-spacing: normal;
}
#end-first-header div {
/*    text-align: left !important;*/
}
#g1-footer-area .extform {
    margin: 0px;
}
#g1-primary-nav .arrow-down-custom{
    display:none;
}

/*//#g1-primary-nav > ul > li > a div.g1-nav-item__title {
    //padding-bottom: 4px;
  //  border-bottom: 2px solid #004787;
//}*/

/*********************************************************************/
#g1-content .g1-layout-inner{
    margin-right: 0px; margin-left: 40px;
}
.blue_back{
    background-color: #0066b1;
}
#wrapper-custom{
    width:300px;
}
.main_text{
    width:auto;
    flex:1 0;
    padding-right:30px;
}

body.home #wrapper-custom, body.page-id-22  #wrapper-custom{
    display: none;
}
.side_menu {
    border-radius: 8px;
    background: white;
    padding-top:10px;
    padding-bottom:20px;
}

.side_menu  li   {
    padding: 10px 20px;
    /*     border-radius: 8px 8px 0 0;*/
    border-bottom: 2px solid #bbbbbb;
}
.side_menu  li:last-child{
    border-bottom: none;
}

.main_content{
    width:85%;
    margin:auto;

}
#g1-primary-bar{
    
    text-align: center;
    
}
.navbar{
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.bx-wrapper .bx-viewport{
    height: 120px !important;
}