/*
Theme Name: CMS cmsvrx system
Theme URI: http://www.connectedcms.se
Author: j.o
Description: Theme for CMS 2.0 - cmsvrx
Version: 4.5
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin: 0; padding: 0; border: 0; background: transparent;}
a img {border: none;}

body { font-size: 10px; line-height: 10px; font-family: Tahoma, "Helvetica Neue", Helvetica, Arial, sans-serif; background: #fff; color: #222; }
html { position:relative; }
html,body {min-height:100%;}

h1 { font-size: 1.8em; line-height: 150%; margin: 10px 0 15px 0; font-weight: bold; color: #222; }
h2 { font-size: 1.5em; line-height: 150%; margin: 0 0 15px 0; padding: 0; font-weight: normal; color: #222; }
h3 { font-size: 1.4em; line-height: 150%; font-weight: bold; color: #222; }
h4 { font-size: 1.4em; line-height: 150%; margin-bottom: 15px; font-weight: normal; color: #222; }
h5 { font-size: 1.3em; line-height: 150%; margin-bottom: 15px; font-weight: bold; color: #222; }
h6 { font-size: 1em; line-height: 150%; margin-bottom: 15px; font-weight: bold; color: #222; }
p { font-size: 1.2em; line-height: 180%; color: #222; margin-bottom:15px; }

#content ul { list-style: inside; margin-left:1em;margin-bottom:15px; }
#content ol { list-style: inside; margin-left:1em;margin-bottom:15px; }

#content .flexslider ul { margin-left: 0; }

div.container { padding-left:0px; padding-right:0px;}
div.container-fluid { padding-left:0px; padding-right:0px;}

#header { z-index:999; }
div.modal-backdrop { z-index:50; }

a:focus { outline: none; }

ul.nav.navbar-nav:not([id]) { display: none; }

.logo-left {float:left;}
.logo-center {text-align: center;}
.logo-right {float:right;}

.cms-icons {width: 100%;float:left;}
.cms-icons .fa {min-width: 20px; text-align: center;}
.cms-icons .fab {min-width: 20px; text-align: center;}
.cms-icons .fas {min-width: 20px; text-align: center;}
.cms-icons div {display: inline; margin-right: 20px;}
.cms-icons div:last-child {margin-right: 0; float: right;}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover {background: none;}

img.alignright {float: right; margin: 0 0 0 20px;}
img.alignleft {float: left; margin: 0 20px 0 0;}

form.wpcf7-form p {margin-bottom: 10px;}
form.wpcf7-form b {margin-left: 3px; color: red; font-weight: 400;}
form.wpcf7-form input {padding: 5px; width: 100%; border: 1px solid #ccc; font-size: 13px; line-height: 1.2; margin-top: 5px; color: #222;}
form.wpcf7-form textarea {padding: 5px; width: 100%; border: 1px solid #ccc; font-size: 13px; line-height: 1.2; margin-top: 5px; color: #222;}
form.wpcf7-form input[type="submit"] {border: none; padding: 15px 0; color: #fff; font-weight: bold; background: #4C9ED9;}
form.wpcf7-form input[type="submit"]:hover {background: #307DB4;}

@media all and (min-width: 768px)  {
	ul.nav li.dropdown:hover > ul.dropdown-menu { display: block; }

	.navbar-default .dropdown-menu { background-color:transparent; border:0; -webkit-box-shadow:none; border-radius:0; box-shadow:none;}

	.navbar-default ul.dropdown-menu .level-1 { position: absolute; top: -8px; left: 100%; z-index: 597; }
	.navbar-default ul.dropdown-menu .level-2 { position: absolute; top: -8px; left: 100%; z-index: 598; }
	.navbar-default ul.dropdown-menu .level-3 { position: absolute; top: -8px; left: 100%; z-index: 599; }
	.navbar-default ul.dropdown-menu .level-4 { position: absolute; top: -8px; left: 100%; z-index: 600; }

	.nav::before, .nav::after, .navbar::before, .navbar::after,
	.navbar-header::before, .navbar-header::after, .navbar-collapse::before,
	.navbar-collapse::after { display:inline !important; }

	div.navbar-collapse.menu { padding-left:0px; padding-right:0px;}
}

@media all and (max-width: 767px)  {
	ul.nav li.dropdown > ul.dropdown-menu { display: block; position:relative; }

	.navbar-fixed-top .navbar-collapse { height:100%; }
	.navbar-fixed-top .container { height:100%; }
	.navbar-fixed-top { height:auto; position:relative; }
	.navbar-default {background:transparent;}
	.dropdown-menu { background-color:transparent; border:0; -webkit-box-shadow:none; border-radius:0; box-shadow:none; width:100%; }

	ul.nav > li { font-size:1.2em; }
	ul.level-0>li>a, ul.level-1>li>a, ul.level-2>li>a { font-size:1em; margin-left:5px; }
	ul.level-0, ul.level-1, ul.level-2 { margin-bottom:15px; }

	.navbar-collapse { z-index:9999;position: relative; }
	.navbar-nav { margin: 0px -15px; }
	#menu-right { display:none; }

	.modal-header a {font-size: 14px; text-decoration: none; text-transform: none;}
	.modal-header .glyphicon {margin-right: 10px; font-size: 75%; color: #BCBCBC;}
	.modalinfo { padding: 10px 12px 11px; }
	.modalsearch { padding: 10px 12px 11px; }

	form.wpcf7-form input {font-size: 16px;}
	form.wpcf7-form textarea {font-size: 16px;}
	.cms-icons {text-align: center;}
	.cms-icons div:last-child {display: block; float: none;}
	.cms-SP {margin: 0;}

}

