main h2{
    font-size: 26px;
    font-weight: bold;
}

main p{
    margin: 10px 0;
}

.result-header{
    color: #FFFFFF;
    //font-size: 18px;
    font-size: 14pt;
    font-weight: bold;
    padding: 15px;
    background-color: #00a399;
}

.result-item{
    background-color: #FFFFFF;
    padding: 15px 10px;
    margin-bottom: 10px;
}

.result-item a {
    /*display: block;*/
    /*height: 100%;*/
    /*text-align: right;*/
}

.term-table{
    display: table;
    width: 100%;
}

.table-row{
    display: table-row;
}

.table-row .table-cell:first-child, .table-row .table-header:first-child{
    border-right: 0;
    vertical-align: middle;
    width: 50%;
}


.table-row .table-cell:nth-child(2), .table-row .table-header:nth-child(2){
    border-left: 15px solid #fce8ef;
    vertical-align: middle;
    width: 50%;
}

.term{
    text-align: left;
    display: table-row;
}

.term-icon, .term-content{
    display: table-cell;
    text-align: left;
    vertical-align: top;
    padding: 10px 0;
}

.term-icon{
    width: 25px;
    color: #e62063;
    text-align: center;
    font-size:20px
}

.result-item .term-icon, .result-item .term-content{
    padding: 4px 0;
    vertical-align: top;
}

.result-item .term-content{
    padding-left: 7px;
}

.result-item .place .term-content{
    padding-top: 7px;
}

.term:first-of-type .term-icon, .term:nth-of-type(3) .term-icon{
    font-size: 18px;
}

.term-content{
    font-size: 16px;
    padding-left: 3px;
    width: auto;
}

.presenters p{
    margin: 0;
}

button.add-to-plan{
    background: none;
    border: none;
    color: #e62063;
    font-size: 30px;
}

.table-cell, .table-header{
    display: table-cell;
    width: 49%;
    text-align: center;
    margin: 5px;
    padding: 15px 15px 10px 15px;
    font-size: 18px;
}

.table-header{
    color: #FFFFFF;
    font-weight: bold;
    background-color: #00a399;
    font-size: 14pt;
}

.table-cell{
    background-color: #FFFFFF;
    border-bottom: 3px solid #fce8ef;
}

.card{
    border: 0;
    border-radius: unset;
    margin: 25px 0 0 0;
    font-size: 20px;
    background: none;
    width: 100%;
}

.card-header{
    color: #FFFFFF !important;
    font-size: 14pt;
    font-weight: bold;
    background-color: #00a399 !important;
    padding: 1rem !important;
    text-align: center;
    text-transform: uppercase;
}

.card-header:first-child{
    border-radius: unset;
}

.card-body{
    margin-bottom: 3px;
    text-align: center;
    background: #FFFFFF;
    padding: 0.5rem 0.8rem;
}

.card-body .form-button{
    margin: 0;
}


/*.result-item img{*/
/*    position: relative;*/
/*    top: 33%;*/
/*}*/

.title-ua-flag{
    height: 30px;
    vertical-align: bottom;
}

.title-ua-flag-2{
    height: 40px;
    vertical-align: bottom;
}

.plan-title{
    font-size: 22px;
    margin-top: 10px;
    display: inline-block;
}

.red-notice-results, .red-notice{
    font-weight: bold;
    color: #e62063;
}


@media all and (max-width: 520px) {
    .text-end{
        padding: 0;
    }
}

@media all and (min-width: 0px) {

    main h2 {
        font-size: 24px;
    }

    select#term_date{
        margin-bottom: 0;
    }
    select#term_hour{
        margin-top: 10px;
    }

    /*.result-item img{*/
    /*    top: 30%;*/
    /*}*/

    .term-table{
        display: none;
    }

    button.form-button {
        font-size: 14pt;
        line-height: 22px;
    }
}


@media all and (min-width: 768px) {
    select#term_date{
        margin-bottom: 10px;
    }

    .term-table{
        display: block;
    }

    .term-table .table-cell{
        font-size: 16px;
        padding: 10px 10px 8px 10px;
    }
    .term-card{
        display: none;
    }
}


@media all and (min-width: 860px) {
    main h2 {
        font-size: 26px;
    }

    button.form-button {
        font-size: 20px;
        line-height: 26px;
    }

    .term-table .table-cell{
        font-size: 18px;
        padding: 15px 15px 10px 15px;
    }
}