/*
Theme Name: BEA calunnictvo
Author: Webcreator
Author URI: http://www.webcreator.sk/
Description: Wordpress theme for BEA calunnictvo.
*/
*, html
{
	margin: 0px;
	padding: 0px;
}

body
{
	height: 100%;
	background: #fff url(images/bgMain.jpg);
	color: #000;
	font-family: "Times New Roman";
	font-size: 16px;
	margin: 0px;
	padding: 0px;
}
ul {margin:10px 25px;}
ul, ol {clear:both;}
a {color:#BF1000;}
a:focus /*Fix for Firefox' dotted outline*/
{
	outline: none;
}

a img
{
	border: none;
}

.clearfix:after
{
  content: ".";
  display: block;
  height: 0px;
  clear: both;
  visibility: hidden;
  font-size: 0;
}
/* IE Mac/Win fixes below */
.clearfix
{
  display: inline-block; /* For IE/Mac */
}
/* Hides from IE/Mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE/Mac */
.bold
{
	font-weight: bold;
}

p
{
	margin: 0;
}
h1
{
	margin: 0;
}
h2
{
	margin: 0;
}
h3
{
	margin: 0;
}
h4
{
	margin: 0;
}

.mainWrapper
{
	position: relative;
}

.topWrapper
{
	width: 100%;
	height: 9px;
	background: #960d00;
	position: absolute;
	top: 0;
	left: 0;
	-khtml-opacity:.80;
	-moz-opacity:.80;
	-ms-filter:”alpha(opacity=80)”;
	filter:alpha(opacity=80);
	opacity:.80;
}

.bottomWrapper
{
	width: 100%;
	height: 164px;
	background: #960d00;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -5;
	-khtml-opacity:.80;
	-moz-opacity:.80;
	-ms-filter:”alpha(opacity=80)”;
	filter:alpha(opacity=80);
	opacity:.80;
}

.centralizer
{
	position: relative;
	width: 970px;
	margin: 0 auto;
}

/**HEADER**/
.header
{
	height: 180px;
}

/*LOGO*/
.logo
{
	width: 298px;
	height: 141px;
	padding: 32px 0 0 0;
	margin: 0 auto;
}

.logoLink
{
	display: block;
}

.logoImg
{}
/*HEADER*/

/**MENU MAIN**/
.menuMain
{
	line-height: 24px;
	margin: 5px 0 0 0;
	position: absolute;
	top: 22px;
	left: 50px;
}

.menuMain ul.sub-menu {
  position: absolute;
  left: -10px;
  top: 20px;
  list-style-type: none;
  width: 170px;
  display: none;
  z-index: 100;
  background-color: #BA1000;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.menuMain ul li:hover ul.sub-menu, .menuMain ul li ul.sub-menu:hover {
  display: block;
}

.menuMain ul.sub-menu li {
  display: block;
  padding: 15px 10px 5px 10px;
}

.menuMain ul
{
	margin: 0;
	padding: 0;
	font-size: 18px;
	list-style-type: none;
}

.menuMain ul li
{
	display: inline;
	margin: 0 5px 0 0;
  position: relative;
}

.menuMain a
{
	color: #fff;
	text-decoration: none;
}

.onhover1
{
	padding: 0 0 0 5px;
	display: inline-block;
}

.onhover2
{
	padding: 0 5px 0 0;
	display: inline-block;
}

.menuSelLeft
{
	background: url("images/bgMenuSelLeft.gif") top left no-repeat;
	padding: 0 0 0 5px;
	display: inline-block;
}

.menuSelRight
{
	background: #fff url("images/bgMenuSelRight.gif") top right no-repeat;
	padding: 0 5px 0 0;
	display: inline-block;
}

.menuSelMid
{
	background: #fff;
}

.selected
{
	color: #ba1000 !important;
}
/*MENU MAIN*/


/**CONTAINER MAIN**/
.containerMain
{
	background: url("images/bgMainContent.png") top left no-repeat;
	padding: 6px 0 0 10px;
	position: relative;
}

.containerMainBottom
{
	background: url("images/bgMainBottom.png") bottom left no-repeat;
	padding: 0 0 37px 0;
}

.containerBG
{
	background: #fff url("images/bgContentRight.jpg") right top repeat-y;
	margin: 88px 0 0 0;
}

.imgLink
{
	display: block;
}

.img
{
	display: block;
}
/*CONTAINER LEFT*/
.containerLeft
{
	width: 630px;
	margin: 10px 4px 0 5px;
	float: left;
	display: inline;
	overflow: hidden;
}

/*CONTENT MAIN*/
.contentMain
{}

.gallery
{}

.galleryItem
{
	margin: 0 24px 35px 25px;
	float: left;
	display: inline;
	overflow: hidden;
}

.container
{
	margin: 0 30px 35px 30px;
}

.container h1
{
	color: #bf1000;
	font-size: 18px;
	font-weight: bold;
	border-bottom: 1px solid #bf1000;
	margin: 0 0 12px;
    padding: 0 0 12px;
}
.container h2 {color: #bf1000;font-size:16px;margin:10px 0;float:left;width:100%;}
.container p {margin:10px 0;float:left;width: 100%;}
.content
{

}

/*CONTAINER RIGHT*/
.containerRight
{
	width: 321px;
	margin: 15px 0 0 0;
	font-family: inherit;
	float: left;
	display: inline;
	overflow: hidden;
}

.menuRightHeader
{
	width: 321px;
	height: 55px;
	margin: 50px 0 0 0;
	font-size: 24px;
	font-style: italic;
	font-weight: bold;
	text-align: center;
	color: #bf1000;
	position: absolute;
	top: 0;
	right: 0px;
}

.menuRightItem
{
	border-top: 1px solid #d6b639;
	padding: 13px 20px 13px 90px;
	line-height: 20px;
	color: #bf1000;
}

.menuRightItem a
{
	color: #bf1000;
	text-decoration: none;
}

.icon1 { background: url("images/icon1.jpg") top left no-repeat; }
.icon2 { background: url("images/icon2.jpg") top left no-repeat; }
.icon3 { background: url("images/icon3.jpg") top left no-repeat; }
.icon4 { background: url("images/icon4.jpg") top left no-repeat; }
.icon5 { background: url("images/icon5.jpg") top left no-repeat; }
.icon6 { background: url("images/icon6.jpg") top left no-repeat; }
.icon7 { background: url("images/icon7.jpg") top left no-repeat; }
.icon8 { background: url("images/icon8.jpg") top left no-repeat; }
.icon9 { background: url("images/icon9.jpg") top left no-repeat; }
.icon10 { background: url("images/icon10.jpg") top left no-repeat; }
.icon11 { background: url("images/icon11.jpg") top left no-repeat; }
.icon12 { background: url("images/icon12.jpg") top left no-repeat; }
/*CONTAINER MAIN*/
input {border:1px solid #BF1000;}
textarea {border:1px solid #BF1000;width:500px;}
.wpcf7-submit {padding:5px;cursor:pointer;}

/**FOOTER MAIN**/
.footerWrapper
{
	padding: 0 0 30px 0;
	z-index: 888;
	margin: -10px 0 0;
}

.footerContacts
{
	font-size: 14px;
	text-align: center;
}

.footerContacts a
{
	color: #000;
	text-decoration: none;
}

.footerCreator
{
	font-size: 12px;
	text-align: center;
}

.footerCreator a
{
	color: #000;
}
/*FOOTER MAIN*/


/*CUSTOME*/
.right_box_images_title{
	font-size: 20px;
	font-weight: bold;
	margin: 5px;
}
.right_box_images{
	width: 100%;
}
.right_box_images img{
	width: 150px;
	margin: 0 0 5px 5px;
}

/* RESPONSIVE & MOBILE VERSION */

@media (max-width: 980px)
{
    p, h1, h2, h3, h4, h5, h6
	{
      overflow-wrap: break-word;
    }

    img[width]
	{
        max-width: 100%;
        height: auto;
    }

    input, textarea, button
	{
        max-width: 100%;
    }

    input:not([type="submit"]), textarea
	{
        font-size: 1rem;
    }

    .centralizer
	{
        max-width: 100%;
        overflow-x: hidden;
    }

    .header
	{
        padding: 20px 30px 10px;
        height: 60px;
    }

    .header .logo
	{
        width: auto;
        height: auto;
        margin: 0 auto 0 0;
        padding: 0;
    }

    .header .logo img
	{
        height: 60px
    }

    .menuMain ul li
	{
        display: inline-block;
        vertical-align: top;
    }

    .menuMain > ul >li > a
	{
        white-space: nowrap;
    }

    .containerMain
	{
        background: #fff url("images/bgContentRight.jpg") right top repeat-y;
        background-size: 33.33%;
        margin: 0 0 0 10px;
        border-top: 20px solid transparent;
        background-clip: padding-box;
        padding: 0;
        border-radius: 0 0 6px 6px;
        box-shadow: 0 14px 5px -5px rgba(0,0,0,0.2), 0 10vw 50px -10vw rgba(0, 0, 0, 0.5);
    }

    .menuMain
	{
        position: relative;
        left: 0;
        top: 0;
        background: url("images/bgMainContentTransparent.png") top left no-repeat;
        background-size: 975px 100%;
        margin: -20px 0 0 -10px;
        padding: 25px 25px 45px 45px;
        min-height: 94px;
        box-sizing: border-box;
    }

    .menuMain ul.sub-menu
	{
        top: 100%;
        width: 180px;
        max-height: -webkit-calc(100vh - 190px);
        max-height: calc(100vh - 190px);
        overflow-y: auto;
    }

    .menuMain > ul > .menu-item-type-custom::after
	{
        content: "❯";
        display: inline-block;
        vertical-align: middle;
        padding: 0 2px;
        font-style: normal;
        font-size: 80%;
        color: #fff;
        transform: rotate(90deg);
        cursor: pointer;
        pointer-events: all;
        touch-action: manipulation;
    }

    .containerBG
	{
        margin-top: -10px;
        background: none;
    }

    .containerMainBottom
	{
        background-image: none;
    }

    .containerLeft
	{
        max-width: calc(100% - 9px - 33.33%);
        box-sizing: border-box;
    }

    .containerRight
	{
        width: 33.33%;
        margin-top: 12px;
        overflow: hidden;
    }

    .containerRight > *
	{
        position: relative;
        left: -15px;
        right: -15px;
        width: calc(100% + 15px);
        box-sizing: border-box;
    }

    .menuRightHeader
	{
        margin: 0 0 0 15px;

    }

     .footerWrapper
	 {
        margin-top: 25px
    }
}

@media (max-width: 640px)
{
    .containerMain
	{
        background-image: none;
        margin-right: 10px;
    }

    .menuMain
	{
        margin-right: -10px;
    }

    .containerBG
	{
        display: flex;
        flex-direction: column-reverse;
    }

    .containerLeft
	{
        max-width: 100%;
        margin: 0;
        padding: 4px;
    }

    .containerRight
	{
        width: 100%;
        margin: -60px 0 20px 0;
        padding: 65px 0 0 0;
        background-color: #FFF6CD;
        border-bottom: 1px solid #d6b639;
    }

    .menuRightHeader
	{
        height: auto;
        position: relative;
        padding: 0 60px 25px 35px;
        text-align: left;
        box-sizing: border-box;
        line-height: 1;
        cursor: pointer;
        pointer-events: all;
        touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;
    }

    .menuRightHeader::after
	{
        content: "❯";
        position: absolute;
        right: 35px;
        top: 0;
        font-style: normal;
        transform: rotate(90deg);
        cursor: pointer;
    }

    .containerRight > *
	{
        left: auto;
        right: auto;
        margin: 0;
        width: 100%;
    }

    .containerRight > :last-child
	{
        margin-bottom: 20px;
    }

    .containerRight:not(:hover) .menuRightHeader ~ *
	{
        display: none;
    }
}
