.dxheDesignViewArea *,
div#ASPxSpreadsheetLayout_Grid * {
    border-bottom: 0 none !important;
    line-height: 125% !important;
    font-size: 14px;
    /*   font-weight: 300;
*/
    font-family: 'Open Sans', sans-serif;
    padding: 0px 0px 0px 0px !important;
    margin: 0px 0px 0px 0px !important;
}

.dxheDesignViewArea p,
div#ASPxSpreadsheetLayout_Grid p {
    padding: 0px 0px 20px 0px !important;
    margin: 0px 0px 0px 0px !important;
    text-align: justify;
}

.dxheDesignViewArea h1,
.dxheDesignViewArea h2,
div#ASPxSpreadsheetLayout_Grid h1,
div#ASPxSpreadsheetLayout_Grid h2 {
    font-size: 24px !important;
    font-weight: 300 !important;
    padding: 20px 0px 0px 0 !important;
    color: black !important;
}

.dxheDesignViewArea h1,
div#ASPxSpreadsheetLayout_Grid h1 {
    border-bottom: 0 none !important;
    margin: 0px 0px 0px 0px !important;
    line-height: 105% !important;
}

.dxheDesignViewArea h3,
div#ASPxSpreadsheetLayout_Grid h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #003F8A;
    padding: 6px 0 11px !important;
}


/******************************************************************************/

.contactcell {
    padding: 25px 25px 16px;
    /*	background-color: rgba(239,239,239,.46)*/
}

.contactcell h2 {
    padding-top: 0;
    margin-top: 0;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 0 none;
    padding-bottom: 6px;
    text-align: center;
    color: #3973c1;
}

.contactcell.sediva {
    background-color: #efefef
}

.contactcelltext h3 {
    font-size: 16px!important;
    padding-bottom: 9px;
    margin-top: -5px!important
}

.kontaktfoto {
    width: 150px;
    right: 0;
    overflow: hidden;
    height: 170px;
    background-position: 50% 50%!important;
    background-size: 215%!important;
    border: 1px solid #cacaca;
    margin: 2px 0 12px;
    background-color: transparent !important;
    position: relative !important;
}

/*
.kontaktfoto.conticouserFalse.nofotoFalse.bcover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(175deg, rgba(146, 183, 253, 1) 0%, rgba(230, 229, 239, 1) 100%);
  pointer-events: none;  
  z-index: 1;
}
*/



.kontaktfoto.conticouserTrue {
    background-image: url(../images/contuser.png)!important;
        background-size: 136% !important;
        background-color: white!important;

}

.kontaktfoto.nofotoTrue {
    display: none
}

.kontaktfoto.bcoverTrue {
    background-size: cover !important;
}

.kontaktfoto {
    width: 170px;
    /* right: 0; */
    overflow: hidden;
    height: 170px;
    background-position: 50% 50%!important;
    background-size: contain !important;  
    background-repeat: no-repeat !important;
    border: 5px solid #5f9fda;
    margin: 0 auto;
    border-radius: 50%;
        position: relative !important;
}

.kontaktfoto.conticouserFalse.nofotoFalse.bcover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
/*    background: linear-gradient(175deg, rgb(148 185 254), rgb(255 255 255)); */
    background: linear-gradient(175deg, rgb(148, 185, 254) 15%, rgb(255, 255, 255) 80%);
    z-index: -1;
}

.contactcelltext * {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 300 !important;
    font-family: 'Open Sans', sans-serif !important;
}

.contactcelltext strong {
    font-weight: 600 !important;
}

form[action*=vyuka-na-ledecskem-gymnaziu-video-8657] .img_content,
form[action*=nabidka-oboru-sos-video-8650] .img_content,
form[action*=dny-otevrenych-dveri-8683] .img_content {
    display: none;
}


div#xxxxbakalari:hover::after {
    content: "Otevřít kalendář";
    position: absolute;
    top: 0;
    left: 0;
    background: #315f92;
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    z-index: 99999;
}

div#bakalari {
    position: relative;
}

.bakalarihover {
    display: none;
}   

div#bakalari:hover .bakalarihover{
    display: flex;
}   

 

.bakalarihover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: #f3f3f3b3;
    width: 100%;
    height: 100%;
    align-items: flex-start;
    justify-content: center;
    padding-top: 18px;
    cursor: pointer;
}
.bakalarihover div{
    background: #08418c;
    color: white;
    padding: 4px 16px;
    font-weight: bold;
    -webkit-box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.38);
    -moz-box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.38);
    box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.38);
}

div#bakalari.bakalari.maximized .bakalarihover,
.bakalarinew {
    display: none;
}  

div#bakalari.bakalari.maximized div#bakalariin::after {
    content: none;
}

div#bakalariin::after {
    content: "  ";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#eeedec+0,eeedec+100&0+0,1+58,1+58 */
background: linear-gradient(to right,  rgba(238,237,236,0) 0%,rgba(238,237,236,1) 58%,rgba(238,237,236,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

div#bakalariholderoverlay:after {
    content: "x";
    position: fixed;
    top: 0;
    right: 16px;
    z-index: 9999999;
    color: white;
    cursor: pointer;
    font-size: 33px;
}

.bakalarinew.visible {
    display: block;
    position: absolute;
    top: 0;
    left: calc(25vw + 100px);
    background: #08418c;
    color: white;
    padding: 4px 16px;
    font-weight: bold;
    cursor: pointer;
    -webkit-box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.38);
    -moz-box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.38);
    box-shadow: 0px 0px 11px 1px rgba(0,0,0,0.38);
    padding-bottom: 8px;
}
.bakalarinew.visible a {
    text-decoration: none;
    color: white;
    display: block;
    padding-bottom: 3px;
}

form[action*=vedeni-skoly-5520] div [class^="article_cell_"],
form[action*=vedeni-skoly-5520] div [class^="article_row_"]
{
        overflow: visible !important;
        position: relative;
}

/*
.article_cell_0_1_0xicDD .contactcell,
.article_row_2_0xbTtg,
.article_row_1_0xcdqP
{
    position: relative;
}
    */

   
form[action*=vedeni-skoly-5520] [class^="article_row_"]:first-child [class^="article_cell_"]:nth-child(1) .contactcell::before {
content: " ";
    width: 1px;
    height: 85px;
    background: black;
    position: absolute;
    bottom: -35px;
    left: 142px;
    z-index: 999;
}
    

form[action*=vedeni-skoly-5520] [class^="article_row_"]:first-child [class^="article_cell_"]:nth-child(2) .contactcell::before {
    content: " ";
    background: url(../images/cnt3.png) no-repeat center center;
    background-size: 100% auto;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 96px;
    left: -50px;
  
}

form[action*=vedeni-skoly-5520] [class^="article_row_"]:first-child [class^="article_cell_"]:nth-child(2) .contactcell {
margin-top:60px;
}

form[action*=vedeni-skoly-5520] [class^="article_row_"]:nth-child(2) 
{
    margin-top: 60px;
}


form[action*=vedeni-skoly-5520] [class^="article_row_"]:nth-child(3)
{
    margin-top: 25px;
}

form[action*=vedeni-skoly-5520] [class^="article_row_"]:nth-child(2)::before {
    content: " ";
    background: url(../images/cnt1.png) no-repeat center center;
    background-size: 100% auto;
    width: 100%;
    height: 34px;
    position: absolute;
    top: -25px;
    left: 0px;
}


form[action*=vedeni-skoly-5520] [class^="article_row_"]:nth-child(3)::before {
    content: " ";
    background: url(../images/cnt2.png) no-repeat center center;
    background-size: 100% auto;
    width: 100%;
    height: 34px;
    position: absolute;
    top: -25px;
    left: 0px;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.style3 {
    height: 159px;
}