/* -----------------------------------------------------------------------------------
 
Theme Name: VIVATSPORT
Theme URI:
Description:
Author:Martin Mikloš
Author URI:
License:
License URI:
Version:1
 
----------------------------------------------------------------------------------- */
html {
  height: 100%;
}

body {
  font-family: "Montserrat",sans-serif;
  padding: 0;
  margin: 0;
  font-weight: 400;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
}

/* --------------------------------------------------
Container
-------------------------------------------------- */
.container {
  width: 1080px;
  margin: 0 auto;
  padding: 0 20px;

}

/* --------------------------------------------------
Grid
-------------------------------------------------- */
.row {
  height: auto;
  margin: 0;
  padding: 0px;
  border: none;

}

.col {
  display: inline-block;
  height: auto;
  border: none;
  margin: 0;
  vertical-align: top;
}

.flex {
    display: flex;
    display: -webkit-flex; /* Safari */
    -webkit-justify-content: space-around;
    -webkit-align-items: center;
    justify-content: space-around;
    align-items: center;
    height: calc(100% - 71px);
}
.col6 {
  flex: 1;
  -webkit-flex: 1;
  width: 50%;
}

.col6.right {
  text-align: right;
}


.col12 {
  width: 80%;
  padding: 2% 10% 0 10%;
}

.page-id-24 .col12, 
.page-id-13 .col12 {
  text-align: center;
}


/* CONTENT */

.content {
    padding: 0 12%;
}


/* TYPOGRAFIE */


h1, .h1 {
  font-size: 50px;
  color: #018DD2;
  margin: 0;
  padding: 0;
  text-align: center;
}

.page-id-13.page h1,
.page-id-24.page h1,
.page-id-54.page h1,
.home h1,
.single.single-znacky h1,
.home .h1 {
  color: #fff;
  text-shadow: 2px 1px 4px #000000;
  }

h3 {
  text-align: center;
}

p, 
.content li, 
.content a,
.page-id-13.page p,
.page-id-24.page p,
.page-id-54.page p,
.single.single-znacky p {
  font-size: 20px;
  color: #fff;
  text-shadow: 2px 1px 4px #000000;
  line-height: 1.5;
}

a {
  color: #018CD1;
}

.content a {
  font-weight: 700;
}

.content p, .content a, .content li, .single p {
  text-shadow: none !important;
}
.content a:hover,
#o-me a:hover {
  text-decoration: none;
}

.page p, .post p, .single p {
  color: #333;
  text-shadow: none;  
  text-align: center;
  margin-top: 3rem;
}

.page #o-me p,
.page #o-me h1,
.page #o-me h2,
.page #o-me h3 {
   text-align: left;
 
}

.page #o-me ul {
    width: 85%;
    margin: auto;
}


hr.wp-block-separator {
    border-top: 1px solid #ddd;
    margin: 3rem;
}


/* NAVIGACE */
  
.main-menu {
  background-color: #fff;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid #ccc;

}


.menu {
  display: inline-block;
  list-style-type: none;
  z-index: 9999;
  background-color: #fff;
  margin: 0;
  padding: 0 20px;
}

.menu:last-child {
  float: right;
}

.menu > li {
  float: left;
}

.menu a {
  display: block;
  font-family: "Montserrat",sans-serif;
  font-size: 20px;
  color: #000;
  padding: 20px 10px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  word-wrap: break-word;
}


.menu li:nth-child(odd) a:hover, a.active {
    color: #018CD1;
}


.menu:last-child > li a {
 background: url(images/logo-vivatsport.png);
 background-position: right; center;
 background-repeat: no-repeat;
 width: 200px;
 background-size: 200px;
}

.menu:last-child > li a:hover  {

}

.text-center {
  text-align: center;
}


div.background {
  display: inline-block;
  padding: 20px;
}


/* navigace spodní kolečka*/

.dotted-nav {
  width: 100%;
  position: fixed;
  display: block;
  bottom: 20px;
  text-align: center;
}

.dotted-nav ul {
  padding: 0; 
  margin: 0;
}

.dotted-nav ul li {
  display: inline;
  padding: 0; 
  list-style: none;
}

.dotted-nav ul li a{
  display: inline-block;
  width: 8px;
  padding: 7px 12px; 
  border-radius: 60px;
  background-color: #fff;
  color: #000;
  margin: 0 5px;
  text-decoration: none;
  font-weight: 700;
  -webkit-transition: 0.1s; /* Safari */
  transition: 0.1s;  
  box-shadow: 0 0 10px #000;
}

.dotted-nav ul li a:hover, .dotted-nav ul li a.active {
  background-color: #018CD1;
  padding: 11px 16px;
}

.dotted-nav.no-text ul li a{
  color: #fff;
  padding: 6px; 
  width: 10px;
  height: 10px;  
 }

.dotted-nav.no-text ul li a:hover, .dotted-nav.no-text ul li a.active {
color: #018CD1;
  width: 13px;
  height: 13px;  
}


/* DOPORUČUJI */

.box-wrapper {
    min-height: 250px;
    vertical-align: middle;
}

.box {
  display: inline-block;
  margin: 14px;
}

.box a {
  display: inline-block;
  vertical-align: top;
  width: 220px;
  height: 220px;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  -webkit-transition: 0.1s; /* Safari */
  transition: 0.1s;  
  text-shadow: 1px 1px 5px #000000;
}

.box a:hover, .box a:focus {
  box-shadow: 0 0 10px #000;


}

.box a span{
  display: table-cell;
  vertical-align: middle;
  width: 180px;
  height: 180px;
  padding: 20px;
  background-color: rgba(1,1,1,0);
  background-position: center;
  background-repeat: no-repeat;
  background-image: none;
}


.page-id-13 .box a span {
  background-color: rgba(1,1,1,0.3);
}

.box a span:hover, .box a span:focus {
  background-color: rgba(1,140,209,0.5);
  background-image: url(images/search-icon_new.png);
  text-indent: -9999px; 
    
}





 /* COLORBOX */

 #cboxWrapper, #colorbox {
  min-height: 500px !important;
 }

 #cboxContent .fb-feed {
  margin: 0 auto;
}


 #cboxContent h3  {
  font-size: 24px;
  text-align: center;
  padding: 10px 0 0 0;
  margin: 0;
}

 #cboxContent p {
  text-shadow: none;
  color: #555;
  font-size: 16px;
  padding: 3%;
  line-height: 1.3;
}


#cboxContent a {
  color: #018CD1;
}

#cboxContent a:hover {
  text-decoration: none;
}


#o-mne {
  width: 50%;
  background-color: rgba(255,255,255,0.9);
  margin: 0 auto;
  padding: 3%;
}

#o-mne img {
  display: block;
  margin: 0 auto;
  padding: 3%;
}


#o-me li {
  padding: 0.6rem;
}

table td {
  padding: 1rem;
  background: #eee;
}



/*  CO JE NOVÉHO + FB  */



#co-je-noveho {
  height: 100%; 
  text-align: center;
  width: 54%;
  margin: 0 auto;
}

a.button {
  display: block;
  background-color: #fff;
  color: #018CD1;
  padding: 7px;
  text-shadow: none;
  text-decoration: none;
  width: 50%;
  -webkit-transition: 0.1s; /* Safari */
  transition: 0.1s;   
  margin: 0 auto 10px auto;
  border: 2px solid #018CD1;
  font-size: 18px;
}

a.button:hover, a.button:focus {
    background-color: #018CD1;
    color: #fff;
}


.cff-wrapper {
  width: calc(100% - 6%);
}

.cff-item {
  background-color: rgba(255,255,255,0.9);
  margin: 20px 0 !important;
  padding: 20px !important;
}

.cff-item p{

  text-shadow: none !important;
  color: #333 !important;
  font-size: 14px;
  text-align: left;
}


@media (min-width:850px) and (max-width: 1250px) {

#navigace {
    height: 58px;
}

.menu a {
  font-size: 16px;
  padding: 20px 6px;
}

.menu:last-child > li a {
 width: 150px;
 background-size: 150px;
}

h1 {
  margin-top: 20px;
}

.background h1  {
  margin-top: 0px;
}
}

@media (max-width: 849px) {


.box-wrapper {
  padding-top: 58px;
}

.flex {
  -webkit-flex-direction: column; /* Safari */
  flex-direction:         column;
  height: auto;
}

.dotted-nav {
  position: relative;
  bottom: 0;
  padding: 40px 0;

}

#navigace {
    height: 58px;
    position: fixed;
    width: 100%;
}

.menu:last-child > li a {
 width: 150px;
 background-size: 150px;
 font-size: 16px;
}

#co-je-noveho {
  width:90%;
}

.col6 {
  width: 100%;
  text-align: center;  
  height: auto;
  padding-top: 70px;
}

.col6.right {
  order: -1;
  -webkit-order: -1;
  text-align: center;  

}

.col6.left {
}

h1 {
  margin-top: 60px;
}

.background h1  {
  margin-top: 0px;
}

}


@media (max-width: 499px) {

h1 {
  font-size: 30px;
}

h1 {
  margin-top: 60px;

}
.background h1  {
  margin-top: 0px;
}
}