/*
Theme Name: IT Operators - Custom Tema
Theme URI: http://totalwptheme.com
Description: Custom Tema bygget på Total WordPress theme.
Author: IT Operators ApS
Author URI: https://itoperators.dk
Template: Total
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

div#site-navigation-wrap::after {
    height: 2px;
    background-color: #fffdf9;
    top: -6px;
    position: relative;
    z-index: 99999;
    visibility: visible;
    opacity: 1;
}

div#site-navigation-wrap::before {
    content: "";
    height: 2px;
    background-color: #fffdf9;
    display: block;
    position: relative;
    top: 6px;
}

#site-header.overlay-header.dyn-styles #site-navigation-wrap {
    background: #2b5234;
    border: 0px;
}

li.home a span:before,
li.sidr-class-home a:before {
    font-family: ticons;
    content: '\f015';
    font-size: 1.8em;
}

li.home a span {
    line-height: 36px !important;
    margin-right: -5px;
}

.navbar-style-one .dropdown-menu>li.home>a>span.link-inner {
    padding-right: 9px;
}

.navbar-style-two.center-items .dropdown-menu>li a {
    height: 60px;
    line-height: 60px;
    position: relative;
    top: -2px;
    margin-bottom: -4px;
}

/* .navbar-style-two.center-items .dropdown-menu>li.home a {
    top: 2px;
} */

/**
* Topbar menu items
*/
#site-header.wpex-header-two-flex-v #site-header-inner {
    align-items: inherit;
}

div#topbar ul li {
    float: left;
    padding: 0 10px;
}

div#topbar ul li a {
    color: #143a5e;
}

li.facebook a:before {
    font-family: ticons;
    content: '\f082';
}

li.facebook a span {
    line-height: 36px !important;
}

/**
* Hvide linjer top og bund på wrapper
*/
.vc_row.wpb_row.vc_row-fluid.white-line-wrapper {
    display: inline-block;
    margin-bottom: -6px;
}

.white-line-wrapper::after {
    content: "";
    height: 2px;
    background-color: #fffdf9;
    bottom: 6px;
    position: absolute;
    display: block;
    visibility: visible;
    opacity: 1;
    width: 100%;
    left: 0px;
}

.white-line-wrapper::before {
    content: "";
    height: 2px;
    background-color: #fffdf9;
    top: 6px;
    position: absolute;
    display: block;
    visibility: visible;
    opacity: 1;
    width: 100%;
    left: 0px;
}

/**
* Footer Linjer
*/
footer#footer {
    /*display: inline-block;*/
    margin-bottom: -6px;
}

footer#footer::after {
    content: "";
    height: 2px;
    background-color: #fffdf9;
    bottom: 12px;
    position: relative;
    display: block;
    visibility: visible;
    opacity: 1;
    width: 100%;
    left: 0px;
}

footer#footer::before {
    content: "";
    height: 2px;
    background-color: #fffdf9;
    top: 6px;
    position: relative;
    display: block;
    visibility: visible;
    opacity: 1;
    width: 100%;
    left: 0px;
}

/**
* Menu sticky borders
*/
#site-navigation-sticky-wrapper.is-sticky #site-navigation-wrap {
    border: none;
}

/**
* Linjer efter h2.
*/
h1.center,
h2.center,
h3.center,
h4.center,
h5.center,
h6.center,
p.center {
    text-align: center;
}

h1.borders-right,
h2.borders-right {
    position: relative;
    z-index: 1;
}

h1.borders-right:before,
h2.borders-right:before {
    border-top: 2px solid #dfdfdf;
    content: "";
    margin: 0 auto;
    /* this centers the line to the full width specified */
    position: absolute;
    /* positioning must be absolute here, and relative positioning must be applied to the parent */
    top: 56%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
    border-top: none;
}

h1.borders-right.darkgreen-background:before,
h2.borders-right.darkgreen-background:before {
    border-top: 2px solid #fff;
}

h1.borders-right.default-background span,
h2.borders-right.default-background span {
    /* to hide the lines from behind the text, you have to set the background color the same as the container */
    background: #fffdf9;
    padding: 0 15px 0 0;
}

h1.borders-right.lightgreen-background span,
h2.borders-right.lightgreen-background span {
    /* to hide the lines from behind the text, you have to set the background color the same as the container */
    background: #e5e6da;
    padding: 0 15px 0 0;
}

h1.borders-right.darkgreen-background span,
h2.borders-right.darkgreen-background span {
    /* to hide the lines from behind the text, you have to set the background color the same as the container */
    background: #2b5234;
    padding: 0 15px 0 0;
}

h1.borders-right.darkgreen-background.center span,
h2.borders-right.darkgreen-background.center span {
    padding: 0 15px;
}

h1.borders-right.darkgreen-background:after,
h2.borders-right.darkgreen-background:after {
    border-bottom: 1px solid #fff;
    -webkit-box-shadow: 0 1px 0 0 #fff;
    -moz-box-shadow: 0 1px 0 0 #fff;
    box-shadow: 0px 4px 0px 0px #fff;
}

h1.borders-right:after,
h2.borders-right:after {
    border-bottom: 1px solid #333;
    -webkit-box-shadow: 0 1px 0 0 #333;
    -moz-box-shadow: 0 1px 0 0 #333;
    box-shadow: 0px 4px 0px 0px #333;
    content: "";
    margin: 0 auto;
    /* this centers the line to the full width specified */
    position: absolute;
    top: 45%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: -1;
}

/**
* Seneste bane status
*/

.itop_seneste_bane_status h3 {
    color: #143a5e;
}


/**
* Contact 7
*/

input.wpcf7-form-control.wpcf7-submit {
    background-color: #143a5e;
    width: 100%;
}

.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form .wpex-select-wrap {
    border-radius: 0px;
    width: 100%;
}

/**
* Header padding
*/
body.page-header-disabled #main {
    padding-top: 40px;
}

body.home.page-header-disabled #main {
    padding-top: 0px;
}

/**
* Modern menu style widget
*/
.widget_wpex_modern_menu .modern-menu-widget li {
    background-color: #fff;
}

.widget_wpex_modern_menu ul.sub-menu li a {
    padding-left: 20px;
}

.widget_wpex_modern_menu li.menu-item.current-menu-item ul.sub-menu li a {
    background: inherit;
    color: #777;
    transition: all 0.25s ease;
    border-right: 1px solid #eee;
    border-left: 1px solid #eee;
}

.widget_wpex_modern_menu li.menu-item.current-menu-item ul.sub-menu li a:after {
    color: #bbb;
}

.widget_wpex_modern_menu li.menu-item.current-menu-item ul.sub-menu li a:hover {
    background: #fafafa;
    color: #2b5234;
}

.widget_wpex_modern_menu li.menu-item a:after {
    display: none;
}

.widget_wpex_modern_menu li.menu-item.menu-item-has-children>a:after {
    display: block;
}

.widget_wpex_modern_menu ul.sub-menu li.menu-item-has-children ul.sub-menu li a {
    padding-left: 40px;
}

.widget_wpex_modern_menu li.menu-item-has-children .sub-menu {
    display: none;
}

/* .widget_wpex_modern_menu li.current_page_item.menu-item-has-children .sub-menu,
.widget_wpex_modern_menu li.current-menu-parent.current-page-parent.current_page_parent .sub-menu, */
.widget_wpex_modern_menu li.current_page_ancestor .sub-menu,
.widget_wpex_modern_menu li.menu-item-has-children.current_page_item .sub-menu {
    display: block;
}

.widget_wpex_modern_menu li.menu-item-has-children>a:after {
    transform: rotate(90deg);
}

/* .widget_wpex_modern_menu li.menu-item-has-children a {
    width: 80%;
}

.widget_wpex_modern_menu li.menu-item-has-children:before {
    display: block;
    font-family: "ticons";
    content: "\f054";
    position: absolute;
    right: 0;
    width: 20%;
    text-align: center;
    /* top: 50%; */
/* margin-top: -38px; */
/* height: 34px;
    line-height: 38px;
    font-size: .923em;
    color: #bbb;
    overflow: visible;
} 

.widget_wpex_modern_menu li.menu-item-has-children span {
    width: 10%;
    height: 35px;
    position: absolute;
    right: 15px;
    display: block;
    z-index: 99;
    cursor: pointer;
} */

/**
* Spiller grid
*/
span.vc_gitem-post-meta-label:nth-child(4) {
    display: block;
}

span.vc_gitem-post-meta-label {
    font-weight: 600;
    padding-right: 6px;
}

.vc_gitem-align-left {
    margin-bottom: 6px;
}

.sponsor-row {
    background-color: #ffffff !important;
    padding-top: 40px;
}



/**
* Golfbox
*/
div#golfbox_knap {
    position: fixed;
    z-index: 199;
    right: 0;
    top: 40vh;
    padding: 5px 5px 0px 5px;
    background: #ECF0F1;
}

div#golfbox {
    position: fixed;
    z-index: 199;
    right: 0;
    top: 40vh;
    background: #2B5234;
    padding: 5px;
    display: none;
}

.gb-loginbox_shadow {
    display: none;
}

/* div#golfbox>div {
    border: 1px solid white;
    padding: 5px;
} */


.medarbejder-liste h4 {
    margin: 15px 0 4px;
}

.medarbejder-liste p {
    margin: 0;
}

/**
* "Mangler du en at spille med?"
*/
.page-id-169 div#message {
    padding: 10px;
    background: #2B5234;
    /* margin-bottom: 0; */
    color: #fff;
}

.page-id-169 div#message>p {
    margin-bottom: 0;
}