/*!
Theme Name: ai4media
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ai4media
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ai4media is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

.darkBg {
	background: #000;
}

.wpcf7-list-item-label {
	padding-left: 30px;
	position: relative;
	margin-left: -20px;
	float: left;
	cursor: pointer;
	font-size: 16px;
	font-weight: normal;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	font-size: 13px;
	line-height: 20px;
}

.wpcf7-list-item-label::before {
    width: 15px;
    height: 15px;
    border-radius: 5px;
    border: 1px solid #FFFFFF;
	background: transparent;
	position: absolute;
	top: 0;
	left: 0;
}

#terms-conditions:checked + .wpcf7-list-item-label::after {
	border-color: #000 !important;
	content: '';
	width: 13px;
	height: 7px;
	position: absolute;
	top: 2px;
	left: 4px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	border-radius: 0 0 0 2px;
	border-bottom: 3px solid transparent;	
	border-left: 3px solid transparent;
}

.btn-primary::after {
	content: '';
	position: absolute;
	background: linear-gradient(70deg, #f8b032 3%, #5d4394 104%);
	left: 50%;
	top: 0;
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 29.5px;
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	z-index: -1;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

.wpcf7-not-valid-tip {
	content: "";
	width: 5px;
	height: 5px;
	position: absolute;
	top: 25px;
	left: -15px;
	background-color: #f55c31;
	border-radius: 5px;
	color: transparent;
}

.wpcf7-response-output {
	display: none;
}

#newsletterForm .wpcf7-list-item-label::before {
	top: 3px;
}

#newsletterForm #terms-conditions:checked + .wpcf7-list-item-label::after {
	top:5px;
}

#newsletterForm .wpcf7-response-output {
	width: 170px;
	background: #FFFFFF;
	padding: 20px 20px 15px 20px;
	text-align: center;
	border-radius: 20px;
	position: absolute;
	color: #f55c31;
	font-family: "CircularStd-Bold", Arial, sans-serif;
	font-size: 15px;
	line-height: 15px;
	position: relative;
	margin: 0;
	text-align: left;
	border: none;
	margin-top: 45px;
}

.event-text {
	font-size: 15px;
	line-height: 30px;
	color: #5f5f5f;
	margin-bottom: 40px;
}

.btn-sub {
	color: white;
	background: transparent;
	border:0px;
}

.btn-sub:hover {
	color: black;	
}

.align-right {
	margin-top: 0px;
	float: right;
}

.junior-content .rules-line p {
	font-size: 15px;
    margin-left: 15px;
}

.modal_test {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 ) 
                url('http://i.stack.imgur.com/FhHRx.gif') 
                50% 50% 
                no-repeat;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading .modal_test {
    overflow: hidden;   
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .modal_test {
    display: block;
}

.text-underline{
	text-decoration: underline;
}