/**
  Theme Name: PAAM
  Theme URI: https://www.paam.eu/
  Version: 1.4.0
  Author: PAAM Systems
  Author URI: https://www.paam.eu/
  License: PAAM Custom License
  License URI: https://www.paam.eu/license/
  Description: Custom WordPress theme for PAAM Systems
*/

/**
 * -------------------------------------
 *
 * GENERAL STUFF
 *
 * -------------------------------------
 */
#cuar-js-content-container {
    margin-top:100px !important;
}
 .tooltip {
     z-index:10000 !important;
 }

.div-table {
    display: table;
    height: 100%;
    width: 100%;
}

.div-cell {
    display: table-cell;
    height: 100%;
    width: 100%;
    vertical-align: middle;
}

a,
a:hover,
a:focus,
a:active {
    text-decoration: none;
}

a:hover,
a:focus,
a:active {
    color: inherit;
}

.paam_menulinks {
    margin-top:7px;
}


ul.navbar-nav li {
    margin-left: 0px !important;
}

.wpb-js-composer .vc_tta-color-juicy-pink.vc_tta-style-modern .vc_tta-panel.vc_active .vc_tta-panel-title>a {
    color:#fff !important;
}

.wpb-js-composer .vc_tta-color-juicy-pink.vc_tta-style-modern .vc_active .vc_tta-panel-heading .vc_tta-controls-icon::after, .wpb-js-composer .vc_tta-color-juicy-pink.vc_tta-style-modern .vc_active .vc_tta-panel-heading .vc_tta-controls-icon::before {
    border-color: #fff !important;
}
/**
 * -------------------------------------
 *
 * LOGOTYPE
 *
 * -------------------------------------
 */


.logotype-fixed {
    height: 47px;
}

.logotype-fixed-full {
    height: 64px;
}


/**
 * -------------------------------------
 *
 * PLUGIN ALERTS
 *
 * -------------------------------------
 */

.plugin-alert {
    position: fixed;
    top: 50%;
    left: 25px;
    right: 25px;
    z-index: 50;
}

.plugin-alert .alert {
    margin-bottom: 0 !important;
    text-align: center;
}

/**
 * -------------------------------------
 *
 * NAVBARS
 *
 * -------------------------------------
 */

#the-navbar {
    transition: padding 0.25s ease;
    background-color: #fff !important;
    z-index: 9999 !important;
}

#the-navbar.navbar-at-top {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

#the-navbar a {
    color: rgba(0, 0, 0, 0.87);
}

.navbar-at-top .material-icons {
    color: #fff !important;
}

.navbar-at-top ul.sub-menu li a {
    color: rgba(0, 0, 0, 0.87) !important;
}

.navbar-dark {
    background-color: #222 !important;
}

li.nav-item {
    position: relative;
}

ul.navbar-nav img {
    margin-right: 3px;
}

ul.navbar-nav li {
    margin-left: 10px;
}

.dropdown-mega-menu-list .dropdown-toggle::after {
    display: none !important;
}

.dropdown-mega-menu {
    margin-top: 25px;
    position: relative;
    padding: 25px 15px 15px 15px;
    background-color: rgba(0, 0, 0, 0.8) !important;
}

.dropdown-mega-menu h3 {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #fff !important;
}

.dropdown-mega-menu .sub-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.dropdown-mega-menu ul.sub-menu li {
    margin-left: 0px !important;
}

.dropdown-mega-menu ul.sub-menu li a {
    display: block;
    padding: 5px 15px;
    font-size: 14px;
    border-left: 2px solid rgba(189, 189, 189, 0.2);
    transition: border-color 0.25s ease;
    color: rgba(255, 255, 255, 0.7) !important;
}

.dropdown-mega-menu ul.sub-menu li a:hover {
    border-color: #b3071b;
    color: rgba(255, 255, 255, 1) !important;
}

.arrow-up {
    position: absolute;
    top: -10px;
    right: 9px;
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;    
    border-bottom: 10px solid rgba(0, 0, 0, 0.8);
}

@media (max-width: 575px) {
    
    .dropdown-mega-menu {
        width: 300px !important;
        height: 300px !important;
        overflow-y: auto !important;
    }

}

@media (min-width: 576px) {
    
    .dropdown-mega-menu {
        width: 540px !important;
    }

}

@media (min-width: 768px) {

    .dropdown-mega-menu {
        width: 720px !important;
    }

}

@media (min-width: 992px) {

    .dropdown-mega-menu {
        width: 960px !important;
    }

}

@media (min-width: 1200px) {

    .dropdown-mega-menu {
        width: 1140px !important;
    }

}

/**
 * -------------------------------------
 *
 * HEADER
 *
 * -------------------------------------
 */

header {
    position: relative;
    height: 500px;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

header h1 {
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.video-background {
    background: #000;
    position: fixed;
    height: 500px;
    top: 0; 
    right: 0;
    left: 0;
    z-index: -99;
}

.video-foreground {
    position: absolute;
    top: -100%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 300%;
    pointer-events: none;
}

.video-background iframe {
    width: 100%;
    height: 100%;
}

.header-title {
    padding: 200px 0;
    color: #fff;
}

.blob {
    position: absolute;
    bottom: -45px;
    left: 50%;
    margin-left: -45px;
    background-color: #fff;
    height: 90px;
    width: 90px;
    border-radius: 50%;
    text-align: center;
    padding: 17px 0;
}

.blob img {
    margin-left: -2px !important;
}

@media(max-width: 479px) {

    .page-content {
        padding: 25px 15px !important;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header,
    .video-background {
        height: 400px;
    }

    #footer {
        padding: 25px 15px;
    }

    #footer .navbar-collapse {
        text-align: left !important;
    }

    #footer .navbar-collapse ul.navbar-nav {
        display: block !important;
        width: 100% !important;
        text-align: center;
    }

    #footer .navbar-collapse ul.navbar-nav.mr-auto {
        display: none !important;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header,
    .video-background {
        height: 200px;
    }

    .blob {
        display: none !important;
    }

}

@media(min-width: 480px) AND (max-width: 649px) {

    header h1 {
        font-size: 1.5rem;
    }

    header,
    .video-background {
        height: 250px;
    }

}

@media(max-width: 768px) {

    .navbar-at-top a {
        color: rgba(0, 0, 0, 0.87) !important;
    }

    .navbar-collapse {
        text-align: center !important;
    }

    #the-navbar.navbar-at-top {
        background-color: #fff !important;
        padding: 0.5rem 1rem !important;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2) !important;
    }

    #the-navbar.navbar-at-top .material-icons {
        color: #a81c35 !important;
    }

    #header {
        margin-top: 80px !important;
    }

    .video-background {
        margin-top: 80px !important;
    }

}

@media(min-width: 650px) AND (max-width: 767px) {

    header h1 {
        font-size: 2rem;
    }

    header,
    .video-background {
        height: 350px;
    }

}

@media(min-width: 768px) AND (max-width: 979px) {

    header h1 {
        font-size: 2rem;
    }

    header,
    .video-background {
        height: 400px;
    }

}

@media(min-width: 980px) AND (max-width: 1199px) {

    header,
    .video-background {
        height: 500px;
    }

}

@media(min-width: 1200px) AND (max-width: 1599px) {

    header,
    .video-background {
        height: 600px;
    }

}

@media(min-width: 1600px) {

    header,
    .video-background {
        height: 650px;
    }

}

/**
 * -------------------------------------
 *
 * PAGE CONTENT
 *
 * -------------------------------------
 */

.page-content {
    background-color: #fff;
 /*   padding: 50px 15px;*/
}

/**
 * -------------------------------------
 *
 * ROTATE
 *
 * -------------------------------------
 */

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotation {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes rotation {
    0% {
        -moz-transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-ms-keyframes rotation {
    0% {
        -ms-transform: rotate(0deg);
    }
    100% {
        -ms-transform: rotate(360deg);
    }
}

.blob:hover {
    animation: 1s rotation infinite linear;
}

/**
 * -------------------------------------
 *
 * VISUAL COMPOSER
 *
 * -------------------------------------
 */

.fixed-background {
    background-attachment: fixed !important;
}
