/**
 * Theme Name: UAV Coach Redesign
 * Version: 1.0
**/
html,body {
  scroll-behavior: smooth;
}
/* Universal css */
.elementor a, a{
    color: #71C8C7;
}

.page-template-template-blog.logged-in .header.white,
.single.logged-in .header.white {    
    margin-top: 32px;    
}
.page-template-template-blog .header.white,
.single .header.white {
    background-color: #025377;   
    padding: 4px 0 0;
    margin-top: 0;
}

.drone-buttons {
    margin: 60px 0; 
    text-align: center;
}
.drone-buttons a {
    text-decoration: none;
    border: 1px solid #bababa;
    color: #fff;
    background-color: #58cbc7;
    width: auto;
    transform-origin: 200px 26px;
    text-transform: uppercase;
    perspective-origin: 200px 26px;
    line-height: 30px;
    inline-size: 400px;
    height: 52px;
    font-weight: 400;
    font-size: 18px;
    block-size: 52px;
    display: inline-block;
    padding: 10px 14px !important;
    border-radius: 5px !important;
    font-family: Montserrat-Regular !important;
    text-align: center !important;
    margin: 0 20px 0 0;
    transition: background-color .3s ease-in-out;
}
.drone-buttons a:last-child {
    margin: 0;
}
.drone-buttons a:hover {
    background-color: #195478;
}
.top-bar-section .menu li.has-dropdown ul {
    padding-left: 15px;
    background-color: #195478;
}
.top-bar-section .menu li.has-dropdown ul li {
    position: relative;
}
.top-bar-section .menu li.has-dropdown ul li:before {
    content: '';
    position: absolute;
    border-left: 10px solid #fff;
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;    
    top: calc(50% - 3px);
    left: -5px;
}
.top-bar-section .menu li.has-dropdown ul li a {
    text-transform: capitalize;
}

.uavcoach-ad {
    margin: 50px auto -35px !important;           
}
.blog-page .uavcoach-ad {
    max-width: 1200px;    
    margin: 0 auto 40px !important;
    padding-top: 42px; /* padding is needed when top sumo bar is active  */ 
}
.single-page .uavcoach-ad {
	margin: 150px auto 0 !important;
}
.all-products .uavcoach-ad {
    width: calc(100% - 290px);
    float: left;
    margin: -90px auto 60px !important;
}
.uavcoach-ad:after {
    content: "";
    display: table;
    clear: both;
}
.uavcoach-ad iframe {
    max-height: -moz-available;          
    max-height: -webkit-fill-available;  
    max-height: fill-available;          
}
.mobile-ad {
    display: none;
}
.footer ul li {
  margin: 0 22px 0 22px;
  max-width: 260px;
}

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

    .page-template-template-blog .header .logo svg,
    .single .header .logo svg {
        max-height: 90px;
    }

}

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

    .all-products .uavcoach-ad {
        margin: -30px auto 60px !important;
    }    

}

@media only screen and (max-width: 640px) {
    .top-bar-section .menu li.has-dropdown ul li:before {
        left: 5px;
    }
    .all-products .uavcoach-ad {
        width: 90%;
        float: none;
    }
    .uavcoach-ad .row {
        max-width: 300px;
        margin: 0 auto;
    }
    .all-products .uavcoach-ad .row {
        max-width: 100%;
    }
    .desktop-ad {
        display: none;
    }
    .mobile-ad {
        display: block;
    }
    .logged-in .blog-page {
        margin-top: 150px;
    }
    .blog-page {
        margin-top: 120px;
    }
}